public DBContextExtendedBase(IBConfiguration config) { _config = config; if (_config == null || string.IsNullOrEmpty(_config.Connection._ConnectionString)) { throw new Exception("Connection String cannot be an empty value"); } SetContext(_config.DbType, _config.Connection); }
public UnitOfWork(IBConfiguration configuration) { _connection = new MySqlConnection(configuration.ConnectionString); _connection.Open(); _transaction = _connection.BeginTransaction(); }
public DisciplineQuery(IBConfiguration configuration) : base(configuration) { }
public ExtendedRepository(IBConfiguration Config, string TableName) : base(Config) { _config = Config; _tablename = TableName; }
public StudentQuery(IBConfiguration configuration) : base(configuration) { }
protected QueryBase(IBConfiguration configuration) { Connection = new MySqlConnection(configuration.ConnectionString); Connection.Open(); }
public SemesterQuery(IBConfiguration configuration) : base(configuration) { }