/// <summary> /// Initializes a new instance of the <see cref="SMEmployeeRepository"/> class. /// </summary> /// <param name="databaseConstants">The database constants.</param> public SMEmployeeRepository(IDatabaseConstants databaseConstants) : base(databaseConstants) { }
/// <summary> /// Initializes a new instance of the <see cref="BlogRepository"/> class. /// </summary> public BlogRepositoryDapper(IDatabaseConstants databaseConstants) { this._database = databaseConstants; }
public StoreRepository(IDatabaseConstants db) { this.DatabaseConstants = db; }
/// <summary> /// Initializes a new instance of the <see cref="BaseRepository"/> class. /// </summary> /// <param name="databaseConstants">The database constants.</param> public BaseRepository(IDatabaseConstants databaseConstants) { this.DatabaseConstants = databaseConstants; this.DapperHelper = new DapperHelper("API", "API-DeptEmp"); }
public DatabaseHelper(IDatabaseConstants databaseConstants) { this.DatabaseConstants = databaseConstants; }
/// <summary> /// Initializes a new instance of the <see cref="SMDepartmentRepository"/> class. /// </summary> /// <param name="databaseConstants">The database constants.</param> public SMDepartmentRepository(IDatabaseConstants databaseConstants) : base(databaseConstants) { }