Persisting Classes

  • Thread starter Thread starter Michael McDowell
  • Start date Start date
M

Michael McDowell

Hi,

Would anyone here be able to point me towards an example
of classes being persisted using serialization to an SQL
database.

I am able to persist to an XML file but not to an DataSet
(and thence to SQL). One issue will involve transforming
the hiricial nature or athe XML files structure to a
relational representation.

Thanks in advance,
Michael McDowell
 
Hi Michael,

Well if you can persist it to XML then nothing stop you to include this
file as a field in a table, declaring the field as text would do the trick.

A similiar approach could be used if you serialize the object using binary
serialization, you could then use a field of class image.

Hope this help,
 
Back
Top