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

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

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