コード例 #1
0
 public DataController(DataContext dbContext,
                       IMsSqlService msSqlService,
                       ISqliteCreationService sqliteCreationService,
                       IBlobStorageService storageService)
 {
     _dbContext             = dbContext;
     _msSqlService          = msSqlService;
     _sqliteCreationService = sqliteCreationService;
     _storageService        = storageService;
 }
コード例 #2
0
        public MsSqlIntegration(MsSqlIntegrationConfiguration configuration)
        {
            if (configuration == null)
            {
                throw new ArgumentNullException(nameof(configuration),
                                                "MS SQL integration configuration has not been provided.");
            }

            _configuration = configuration;
            _msSqlService  = _configuration.MsSqlServiceProvider();
        }
コード例 #3
0
 public MsSqlController(ILogService log, IMsSqlService msSqlService)
 {
     _log          = log;
     _msSqlService = msSqlService;
 }