public PlayerRepository(IDataAccessConfiguration configuration)
 {
     _configuration = configuration;
 }
Beispiel #2
0
 public SqlTaskRepository(IDataAccessConfiguration config, IServiceContext serviceContext, IUserContext userContext)
     : base(config.ConnectionString)
 {
     this.serviceContext = serviceContext;
     this.userContext    = userContext;
 }
 public ApiConnectorService(IDataAccessConfiguration dataAccessConfiguration)
 {
     _httpClient = new HttpClient();
     _dataAccessConfiguration = dataAccessConfiguration;
 }
 public BaseApiController(IConfiguration configuration)
 {
     _dataAccessConfiguration = new DataAccessConfiguration();
     configuration.GetSection("DataAccess").Bind(_dataAccessConfiguration);
 }
Beispiel #5
0
 public App(IDataAccessConfiguration config, ILogger <App> logger)
 {
     _logger = logger;
     _config = config;
 }
 public SomeDataContext(IDataAccessConfiguration config)
 {
     this.Config = config;
 }
 public DataAccessfactory(IDataAccessConfiguration config)
 {
     this.Config = config;
 }
Beispiel #8
0
 public TownRepository(IDataAccessConfiguration configuration)
 {
     _configuration = configuration;
 }