PC Review


Reply
Thread Tools Rate Thread

Class Object -> XML -> Database???

 
 
Don Miller
Guest
Posts: n/a
 
      6th Feb 2007
It seems fairly straightforward to serialize a custom object to an XML file
(saved in the file system) but it is wide open on how to serialize that
object as a stream and then get it into a database. I've seen streamwriters,
memorystreams, etc. (all textwriters) used where these XML objects are
eventually converted to string and stored to a database for SQL 2000 and
maybe as native XML in SQL 2005 (although I haven't seen examples of the
latter).

Is there a preferred way (less coding, faster, memory efficient, etc.) to
create an object serialized as XML and prepare it for storage in a database?

Thanks for any help.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question regarding initializing base class object to derived class object, archana Microsoft C# .NET 1 9th Jan 2007 07:50 AM
Object Transaction / Class Transaction Undo Without Database GoogleEyeJoe Microsoft C# .NET 3 25th Oct 2006 08:31 PM
Create Object from database stored class name John Hughes Microsoft C# .NET 2 20th Sep 2005 02:50 PM
Casting a C# base class object to a derived class type. =?Utf-8?B?Q2hyaXMgQ2Fwb24=?= Microsoft C# .NET 5 3rd Jun 2005 11:35 PM
extra database reads in a business object class SteveS Microsoft Dot NET 1 6th Jan 2004 07:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.