public AdsGoFastDapperContext(AzureAuthenticationCredentialProvider authProvider, IOptions <ApplicationOptions> options) { var scsb = new SqlConnectionStringBuilder { DataSource = options.Value.AdsGoFastTaskMetaDataDatabaseServer, InitialCatalog = options.Value.AdsGoFastTaskMetaDataDatabaseName }; _connectionstring = scsb.ConnectionString; _authProvider = authProvider; }
public AadAuthenticationDbConnectionInterceptor(AzureAuthenticationCredentialProvider azureAuthenticationCredentialProvider) { _azureAuthenticationCredentialProvider = azureAuthenticationCredentialProvider; }