Beispiel #1
0
 public GenerateScriptModule(MssqlDbService mssqlDbService, PgDbService pgDbService, StringBuilderService stringBuilderService, IOptions <TableOptions> tableOptions, IOptions <MssqlConnectOptions> mssqlConnectOptions)
 {
     _mssqlDbService       = mssqlDbService;
     _pgDbService          = pgDbService;
     _stringBuilderService = stringBuilderService;
     _mssqlConnectOptions  = mssqlConnectOptions.Value;
     _tableOptions         = tableOptions.Value;
 }
 public StringBuilderService(PostgresTypeMapper typeMapper, IOptions <MssqlConnectOptions> msConnectOptions,
                             IOptions <PostgresOptions> pgOptions, PgDbService pgDbService, IOptions <TableOptions> tableOptions)
 {
     _typeMapper       = typeMapper;
     _msConnectOptions = msConnectOptions.Value;
     _pgOptions        = pgOptions.Value;
     _pgDbService      = pgDbService;
     _tableOptions     = tableOptions.Value;
 }