示例#1
0
文件: XmlDb.cs 项目: skepee/XmlDb
        public void AddTable(string tableName, Dictionary <string, Type> myData)
        {
            XmlTable xmldt = new XmlTable();

            xmldt.CreateTable(tableName, myData);

            if (xmldt != null)
            {
                ListDataObjects.Add(xmldt);
                Ds.Tables.Add(xmldt.Dt);
            }
        }
示例#2
0
 internal XmlLog(string pathFile, string tableName, Dictionary <string, Type> Fields)
 {
     PathFile      = pathFile;
     LogDataObject = new XmlTable();
     LogDataObject.CreateTable(tableName, Fields);
 }