Persisting .NET Objects to SQL Server Using SQLXML and Serialization
December 1, 2004[From 15Seconds]
After writing "Retrieving Objects from SQL Server Using SQLXML and Serialization" I'm exploring opportunities of saving back objects to database, using a schema definition file (that we designed in the previous article), and another technique that is included with SQLXML called UPDATEGRAMS.
This article will describe this technique as designed from Microsoft; go through the creation of an UPDATEGRAM class that use serialization and custom class attributes to form appropriate xml streams can be sent to SQLSERVER to perform automatic generated statements.
The article continues at http://www.15seconds.com/issue/041124.htm