Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / December 2004

Tip: Looking for answers? Try searching our database.

Store Objects in a DataStore

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vamsi - 25 Oct 2004 22:11 GMT
Is it possible to store objects like HashTables in a database? How do I do
this?

The method I was thinking of is:
1. Serialize the HashTable.
2. Store the serialized data in XML.
3. To access the object, we deserialize the data and cast into HashTable.

Any suggestions to make this process more efficient would be appreciated.

Thanks
Mujtaba Syed - 03 Nov 2004 20:54 GMT
Ah, the classic O/R problem.
Your solution of using XML as an intermediary is the best, IMO.

Mujtaba Syed.

> Is it possible to store objects like HashTables in a database? How do I do
> this?
[quoted text clipped - 7 lines]
>
> Thanks
Michael - 03 Dec 2004 18:25 GMT
If you want to optimize it for spead and data size then you may prefer to use the binary serialization instead of XML.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.