public void ConnectionTest() { var repository = new OdpNetRepositoryImpl(); repository.Should().Not.Be.Null(); repository.Db.Should().Not.Be.Null(); var tableCount = repository.ExecuteScalar("SELECT COUNT(*) FROM TAB").AsInt(); tableCount.Should().Be.GreaterThan(0); }
public void ConnectionTest() { var repository = new OdpNetRepositoryImpl(); repository.Should().Not.Be.Null(); repository.Db.Should().Not.Be.Null(); var tableCount = repository.ExecuteScalar("SELECT COUNT(*) FROM TAB").AsInt(); tableCount.Should().Be.GreaterThan(0); }