示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        private Data readFromDb(string path)
        {
            IDatabase databse = new DB_Xml(path);

            return(databse.read(path));
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="data"></param>
        private void SaveInDB(Data data)
        {
            IDatabase databse = new DB_Xml("");

            databse.save(data);
        }