|
 |
aspx thread: Serialize Object to Database
Message #1 by "Komodo" <mileu2@y...> on Wed, 15 Aug 2001 18:49:21
|
|
Hello All,
I am working on a system that needs to serialize an object to a database.
An older implementation of what I'm doing parsed each property and saved
it to database fields.
However, I would much rather just serialize the entire object to a single
database field. I have been able to serialize the object to a file, but
what I'd like to do, is save the same information in the file to a
database field, and then retreive it when I deserialize the object.
Any guidance would be greatly appreciated.
Thanks much.
Message #2 by "Mark A. Struck" <struckm@a...> on Wed, 15 Aug 2001 13:17:24 -0500
|
|
Komodo,
What I've implemented in the past was to serialize an object into XML which
was stored in one database field. The nice thing about using this approach
is that you can modify the XML elements on the fly and don't have to change
the underlying database structure.
Mark
-----Original Message-----
From: Komodo [mailto:mileu2@y...]
Sent: Wednesday, August 15, 2001 6:49 PM
To: ASP+
Subject: [aspx] Serialize Object to Database
Hello All,
I am working on a system that needs to serialize an object to a database.
An older implementation of what I'm doing parsed each property and saved
it to database fields.
However, I would much rather just serialize the entire object to a single
database field. I have been able to serialize the object to a file, but
what I'd like to do, is save the same information in the file to a
database field, and then retreive it when I deserialize the object.
Any guidance would be greatly appreciated.
Thanks much.
|
|
 |