Exemplo n.º 1
0
        public static IDbConnection OpenDbConnection()
        {
            var testBase         = new OrmLiteTestBase();
            var connectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString;

            return(testBase.OpenDbConnection(connectionString));
        }
 public static IDbConnection OpenDbConnection()
 {
     var testBase = new OrmLiteTestBase
     {
         DbFactory = new OrmLiteConnectionFactory(
             ConfigurationManager.ConnectionStrings["testDb"].ConnectionString,
             OracleDialect.Provider)
     };
     return testBase.OpenDbConnection();
 }
        public static IDbConnection OpenDbConnection()
        {
            var testBase = new OrmLiteTestBase
            {
                DbFactory = new OrmLiteConnectionFactory(
                    ConfigurationManager.ConnectionStrings["testDb"].ConnectionString,
                    OracleDialect.Provider)
            };

            return(testBase.OpenDbConnection());
        }
 public static IDbConnection OpenDbConnection()
 {
     var testBase = new OrmLiteTestBase();
     var connectionString = ConfigurationManager.ConnectionStrings["testDb"].ConnectionString;
     return testBase.OpenDbConnection(connectionString);
 }