public void RunWithoutOpen() { var driver = new XlsDriver(); Assert.IsNotNull(driver); var connection = driver.Connect(XlsUri); driver.ListTables(connection); }
public void ListTables() { var driver = new XlsDriver(); using (var connection = driver.Connect(XlsUri)){ connection.Open(); var dt = driver.ListTables(connection); Assert.AreEqual(dt.Length, 3); connection.Close(); } }