コード例 #1
0
 public EfUserDal(PostgresqlContext dataContext)
     : base(dataContext)
 {
     _dataContext = dataContext;
 }
コード例 #2
0
 public ServiceController(IOptions <PostgresConfiguration> postgresConfiguration, ILogger <ServiceController> logger)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _db     = new PostgresqlContext(postgresConfiguration);
 }
コード例 #3
0
 public WidgetsController(IOptions <PostgresConfiguration> postgresConfiguration, IOptions <WidgetConfiguration> widgetConfiguration, ILogger <ServiceController> logger)
 {
     _logger = logger ?? throw new ArgumentNullException(nameof(logger));
     _widgetConfiguration = widgetConfiguration.Value ?? throw new ArgumentNullException(nameof(widgetConfiguration));
     _db = new PostgresqlContext(postgresConfiguration);
 }
コード例 #4
0
 public EfPasswordResetDal(PostgresqlContext dataContext)
     : base(dataContext)
 {
 }