public void SetUp() { msDbAccessor = new MsDbAccessor(Connstr); var loadxml = new LoadDbConfigXml(Xmlpath); msDbAccessor.UpdateTables(loadxml.GeTableInfos()); }
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); } }