public void Open() { if (_context == null) { _context = new InnerDbContext(DbType, ConnectionString); } }
public void Dispose() { if (_context != null) { _context.Dispose(); _context = null; } }
public void Open() { if (_context == null) { _context = new InnerDbContext(DbType, ConnectionString); } }
public void Dispose() { if (_context != null) { _context.Dispose(); _context = null; } }