Example #1
0
        //----< Persist primitive type DB to XML file >-------------------------------------
        public static void persist <Key, Value, Data>(this DBEngine <Key, Value> dbStore, string filename)
        {
            XDocument xDocument = PersistToXML <Key, Value, Data>(dbStore);

            xDocument.Save(filename);
            dbStore.clear();
        }