/// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public DatabaseFacadeDependencies(
     [NotNull] IDbContextTransactionManager transactionManager,
     [NotNull] IDatabaseCreator databaseCreator,
     [NotNull] IExecutionStrategyFactory executionStrategyFactory,
     [NotNull] IEnumerable <IDatabaseProvider> databaseProviders,
     [NotNull] IDiagnosticsLogger <DbLoggerCategory.Database.Command> commandLogger,
     [NotNull] IConcurrencyDetector concurrencyDetector)
 {
     TransactionManager       = transactionManager;
     DatabaseCreator          = databaseCreator;
     ExecutionStrategyFactory = executionStrategyFactory;
     DatabaseProviders        = databaseProviders;
     CommandLogger            = commandLogger;
     ConcurrencyDetector      = concurrencyDetector;
 }
Exemplo n.º 2
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public RelationalDatabaseFacadeDependencies(
     [NotNull] IDbContextTransactionManager transactionManager,
     [NotNull] IDatabaseCreator databaseCreator,
     [NotNull] IExecutionStrategyFactory executionStrategyFactory,
     [NotNull] IEnumerable <IDatabaseProvider> databaseProviders,
     [NotNull] IDiagnosticsLogger <DbLoggerCategory.Database.Command> commandLogger,
     [NotNull] IConcurrencyDetector concurrencyDetector,
     [NotNull] IRelationalConnection relationalConnection,
     [NotNull] IRawSqlCommandBuilder rawSqlCommandBuilder)
     : base(
         transactionManager,
         databaseCreator,
         executionStrategyFactory,
         databaseProviders,
         commandLogger,
         concurrencyDetector)
 {
     RelationalConnection = relationalConnection;
     RawSqlCommandBuilder = rawSqlCommandBuilder;
 }