public OrmConnection OpenConnection()
        {
            var conn = _dialectProvider.CreateConnection(_connectionString);

            conn.Open();
            return(conn);
        }
Example #2
0
        public OrmConnection OpenConnection()
        {
            var conn = _dialectProvider.CreateConnection(_connectionString);

            conn.CommandTimeout = DefaultCommandTimeout;
            conn.Open();
            return(conn);
        }
Example #3
0
 protected OrmConnection OpenDbConnection()
 {
     if (_conn?.DbConnection == null)
     {
         _conn = _dialectProvider.CreateConnection(ConnectionString);
         _conn.Open();
     }
     return(_conn);
 }