Example #1
0
 public ProductRepository(IConfiguration configuration, ICommandText commandText, IExecuters executers)
 {
     _commandText   = commandText;
     _configuration = configuration;
     _connStr       = _configuration.GetConnectionString("Dapper");
     _executers     = executers;
 }
Example #2
0
 public TransactionsRepositoryFake(IConfiguration configuration, ITransactionsCommandText commandText, IExecuters executers)
 {
     _commandText   = commandText;
     _configuration = configuration;
     _connStr       = _configuration.GetConnectionString("Dapper");
     _executers     = executers;
 }
Example #3
0
 public MemberRepository(IConfiguration configuration, IMembersCommandText membersCommandText, IExecuters executers)
 {
     _membersCommandText = membersCommandText;
     _configuration      = configuration;
     _connStr            = _configuration.GetConnectionString("Dapper");
     _executers          = executers;
 }
 public CategoriesRepository(IConfiguration configuration, ICommandText commandText, IExecuters executers)
 {
     _commandText   = commandText;
     _configuration = configuration;
     _connStr       = _configuration.GetConnectionString("NORTHWND");
     _executers     = executers;
 }
 public EmployeeRepository(
     IExecuters executers,
     IEmployeeCommands employeeCommands
     )
 {
     _executers        = executers;
     _employeeCommands = employeeCommands;
 }
Example #6
0
 public CompanyRepository(
     IExecuters executers,
     ICompanyCommands companyCommands
     )
 {
     _executers       = executers;
     _companyCommands = companyCommands;
 }
Example #7
0
 public Repository(IConfiguration configuration, ICommandText commandText, IExecuters executers, string tableName)
 {
     _commandText = commandText;
     _executers   = executers;
     _tableName   = tableName;
     setCurrentTable();
     _configuration = configuration;
     _connStr       = getConnectionString();
 }
Example #8
0
 public Demo(IConfiguration configuration, IExecuters executers)
 {
     _configuration = configuration;
     _connStr       = _configuration.GetConnectionString("DefaultConnection");
     _executers     = executers;
 }
Example #9
0
 public EntityStateRepository(IConfiguration configuration, ICommandText commandText, IExecuters executers, string tableName)
     : base(configuration, commandText, executers, tableName)
 {
 }
Example #10
0
 public EmployeeRepository(IConfiguration configuration, IExecuters executers)
 {
     _configuration = configuration;
     _connStr       = _configuration.GetConnectionString("Dapper");
     _executers     = executers;
 }
Example #11
0
 public ArticleTagRepository(IConfiguration configuration, ICommandText commandText, IExecuters executers, string tableName)
     : base(configuration, commandText, executers, tableName)
 {
 }