public SqlServerFhirDataStore( SqlServerDataStoreConfiguration configuration, SqlServerFhirModel model, SearchParameterToSearchValueTypeMap searchParameterTypeMap, VLatest.UpsertResourceTvpGenerator <ResourceMetadata> upsertResourceTvpGeneratorVLatest, IOptions <CoreFeatureConfiguration> coreFeatures, SqlConnectionWrapperFactory sqlConnectionWrapperFactory, ILogger <SqlServerFhirDataStore> logger, SchemaInformation schemaInformation) { EnsureArg.IsNotNull(configuration, nameof(configuration)); EnsureArg.IsNotNull(model, nameof(model)); EnsureArg.IsNotNull(searchParameterTypeMap, nameof(searchParameterTypeMap)); EnsureArg.IsNotNull(upsertResourceTvpGeneratorVLatest, nameof(upsertResourceTvpGeneratorVLatest)); EnsureArg.IsNotNull(coreFeatures, nameof(coreFeatures)); EnsureArg.IsNotNull(sqlConnectionWrapperFactory, nameof(sqlConnectionWrapperFactory)); EnsureArg.IsNotNull(logger, nameof(logger)); EnsureArg.IsNotNull(schemaInformation, nameof(schemaInformation)); _configuration = configuration; _model = model; _searchParameterTypeMap = searchParameterTypeMap; _upsertResourceTvpGeneratorVLatest = upsertResourceTvpGeneratorVLatest; _coreFeatures = coreFeatures.Value; _sqlConnectionWrapperFactory = sqlConnectionWrapperFactory; _logger = logger; _schemaInformation = schemaInformation; _memoryStreamManager = new RecyclableMemoryStreamManager(); }
public SqlServerFhirDataStore( SqlServerDataStoreConfiguration configuration, SqlServerFhirModel model, SearchParameterToSearchValueTypeMap searchParameterTypeMap, V1.UpsertResourceTvpGenerator <ResourceMetadata> upsertResourceTvpGenerator, ILogger <SqlServerFhirDataStore> logger) { EnsureArg.IsNotNull(configuration, nameof(configuration)); EnsureArg.IsNotNull(model, nameof(model)); EnsureArg.IsNotNull(searchParameterTypeMap, nameof(searchParameterTypeMap)); EnsureArg.IsNotNull(upsertResourceTvpGenerator, nameof(upsertResourceTvpGenerator)); EnsureArg.IsNotNull(logger, nameof(logger)); _configuration = configuration; _model = model; _searchParameterTypeMap = searchParameterTypeMap; _upsertResourceTvpGenerator = upsertResourceTvpGenerator; _logger = logger; _memoryStreamManager = new RecyclableMemoryStreamManager(); }
public SchemaUpgradedHandler(SqlServerFhirModel sqlServerFhirModel) { EnsureArg.IsNotNull(sqlServerFhirModel, nameof(sqlServerFhirModel)); _sqlServerFhirModel = sqlServerFhirModel; }