共用方式為


RelationalDatabaseCreatorDependencies.With 方法

定義

多載

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

複製此相依性參數物件,並取代一個服務。

With(ICurrentDbContext)

複製此相依性參數物件,並取代一個服務。

With(IModel)

複製此相依性參數物件,並取代一個服務。

With(IMigrationCommandExecutor)

複製此相依性參數物件,並取代一個服務。

With(IMigrationsModelDiffer)

複製此相依性參數物件,並取代一個服務。

With(IMigrationsSqlGenerator)

複製此相依性參數物件,並取代一個服務。

With(IExecutionStrategyFactory)

複製此相依性參數物件,並取代一個服務。

With(IRelationalConnection)

複製此相依性參數物件,並取代一個服務。

With(ISqlGenerationHelper)

複製此相依性參數物件,並取代一個服務。

With(IDiagnosticsLogger<DbLoggerCategory.Database.Command>)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> commandLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Command> -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (commandLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Command)) As RelationalDatabaseCreatorDependencies

參數

commandLogger
IDiagnosticsLogger<DbLoggerCategory.Database.Command>

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(ICurrentDbContext)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (currentContext As ICurrentDbContext) As RelationalDatabaseCreatorDependencies

參數

currentContext
ICurrentDbContext

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IModel)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Metadata.IModel model);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (model As IModel) As RelationalDatabaseCreatorDependencies

參數

model
IModel

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IMigrationCommandExecutor)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor migrationCommandExecutor);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationCommandExecutor -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (migrationCommandExecutor As IMigrationCommandExecutor) As RelationalDatabaseCreatorDependencies

參數

migrationCommandExecutor
IMigrationCommandExecutor

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IMigrationsModelDiffer)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer modelDiffer);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsModelDiffer -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (modelDiffer As IMigrationsModelDiffer) As RelationalDatabaseCreatorDependencies

參數

modelDiffer
IMigrationsModelDiffer

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IMigrationsSqlGenerator)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator migrationsSqlGenerator);
member this.With : Microsoft.EntityFrameworkCore.Migrations.IMigrationsSqlGenerator -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (migrationsSqlGenerator As IMigrationsSqlGenerator) As RelationalDatabaseCreatorDependencies

參數

migrationsSqlGenerator
IMigrationsSqlGenerator

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IExecutionStrategyFactory)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory executionStrategyFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IExecutionStrategyFactory -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (executionStrategyFactory As IExecutionStrategyFactory) As RelationalDatabaseCreatorDependencies

參數

executionStrategyFactory
IExecutionStrategyFactory

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(IRelationalConnection)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (connection As IRelationalConnection) As RelationalDatabaseCreatorDependencies

參數

connection
IRelationalConnection

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於

With(ISqlGenerationHelper)

來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs
來源:
RelationalDatabaseCreatorDependencies.cs

複製此相依性參數物件,並取代一個服務。

public Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies With (Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper sqlGenerationHelper);
member this.With : Microsoft.EntityFrameworkCore.Storage.ISqlGenerationHelper -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseCreatorDependencies
Public Function With (sqlGenerationHelper As ISqlGenerationHelper) As RelationalDatabaseCreatorDependencies

參數

sqlGenerationHelper
ISqlGenerationHelper

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於