Пример #1
0
        public void SetUp()
        {
            msDbAccessor = new MsDbAccessor(Connstr);
            var loadxml = new LoadDbConfigXml(Xmlpath);

            msDbAccessor.UpdateTables(loadxml.GeTableInfos());
        }
Пример #2
0
 public void msDbAccessorTest()
 {
     try
     {
         MsDbAccessor msDbAccessor = new MsDbAccessor(Connstr);
         var          loadxml      = new LoadDbConfigXml(string.Empty);
         msDbAccessor.UpdateTables(loadxml.GeTableInfos());
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex.Message);
         Assert.True(true);
     }
 }