Exemplo n.º 1
0
 public EmployeeRepository(IQueryableDataProvider <Employee> employeeDataProvider)
 {
     _employeeDataProvider = employeeDataProvider;
 }
Exemplo n.º 2
0
 public CustomerRepository(IQueryableDataProvider<Customer> customerDataProvider, IQueryableDataProvider<Order> orderData)
 {
     _customerDataProvider = customerDataProvider;
     _orderData = orderData;
 }
Exemplo n.º 3
0
 public UserRepository(IQueryableDataProvider <User> userDataProvider)
 {
     _userDataProvider = userDataProvider ?? throw new ArgumentNullException("Cannot construct UserRepository without its dependency userDataProvider");
 }
Exemplo n.º 4
0
 public OrderRepository(IQueryableDataProvider<Order> ordersDataProvider)
 {
     _ordersDataProvider = ordersDataProvider;
 }
 public DefaultAuthenticationStrategy(IQueryableDataProvider <Credentials> dataProvider)
 {
     _dataProvider = dataProvider;
 }
Exemplo n.º 6
0
 public CustomerRepository(IQueryableDataProvider <Customer> customerDataProvider, IQueryableDataProvider <Order> orderData)
 {
     _customerDataProvider = customerDataProvider;
     _orderData            = orderData;
 }
Exemplo n.º 7
0
 public OrderRepository(IQueryableDataProvider <Order> ordersDataProvider)
 {
     _ordersDataProvider = ordersDataProvider;
 }