次の方法で共有


ExecutionStrategyDependencies.With メソッド

定義

オーバーロード

With(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(ICurrentDbContext)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(IDbContextOptions)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(ICurrentDbContext)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

With(IDiagnosticsLogger<DbLoggerCategory.Infrastructure>)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

public Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> logger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Infrastructure> -> Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies
Public Function With (logger As IDiagnosticsLogger(Of DbLoggerCategory.Infrastructure)) As ExecutionStrategyDependencies

パラメーター

logger
IDiagnosticsLogger<DbLoggerCategory.Infrastructure>

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象

With(ICurrentDbContext)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

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

パラメーター

currentContext
ICurrentDbContext

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象

With(IDbContextOptions)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

public Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies
Public Function With (options As IDbContextOptions) As ExecutionStrategyDependencies

パラメーター

options
IDbContextOptions

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象

With(ICurrentDbContext)

この依存関係パラメーター オブジェクトを 1 つのサービスに置き換えて複製します。

public Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies With (Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext currentDbContext);
member this.With : Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Storage.ExecutionStrategyDependencies
Public Function With (currentDbContext As ICurrentDbContext) As ExecutionStrategyDependencies

パラメーター

currentDbContext
Microsoft.EntityFrameworkCore.Internal.ICurrentDbContext

この型の現在の依存関係の置き換え。

戻り値

指定されたサービスが置き換えられた新しいパラメーター オブジェクト。

適用対象