Tests.SqlServer.Setup.GetConnection C# (CSharp) Method

GetConnection() public static method

public static GetConnection ( ) : DbConnection
return System.Data.Common.DbConnection
        public static DbConnection GetConnection() => SqlFuManager.GetDbFactory(
//#if SqlServer
//#elif Sqlite
//            "sqlite"
//#endif
            ).Create();

Usage Example

Exemplo n.º 1
0
 public StoredProcsTests(ITestOutputHelper h)
 {
     _db = Setup.GetConnection();
     h.WriteLine("xxxxxxxxxxx");
     Init();
 }
All Usage Examples Of Tests.SqlServer.Setup::GetConnection