Beispiel #1
0
 public CustomerRepository(IConfiguration configuration, ICustomerCommandText commandText,
                           IServiceProvider service)
 {
     _commandText = commandText;
     _service     = service;
     _connStr     = configuration.GetConnectionString("CustomerOrderViewer");
 }
 public CustomerRepository(ICustomerCommandText commandText, DbConnection connection, ICustomerHelper customerHelper) : base(connection)
 {
     _commandText    = commandText;
     _customerHelper = customerHelper;
 }