Ultrawhack
Well-known member
dellman said:For a one user one database system I actually do not use a database at all. Depends on the number of tables but if you have only a couple of tables and no relationships to speak of (other than those you maintain by virtue of design) then why not use a DataSet object that you serialize and deserialize from XML? It is simple, elegent and requires absolutely nothing more than .NET. Also, you can alter the structure at will and when you deserialize an older object you can detect if it has the correct structure and if not, just update it so that when you serialize it again, it has the correct structure. You will not run into deserialization headache unless you try to use a Typed Dataset. You have nothing to install (ie: SSX, jet drivers,etc.), You have no services to run (ie: SSX), no memory overhead, the serialization and deserialization process is fast, ie: 1000 records in less than a second. Comments anyone? If you need working code on the serialization and deserialization for .NET 2005 I can post it.
Cheers.
I'd certainly like to study the code. Thanks Dellman