DatabaseDependencies.With Yöntem

Tanım

Aşırı Yüklemeler

With(IQueryCompilationContextFactory)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IUpdateAdapterFactory)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

With(IQueryCompilationContextFactory)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies With (Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory queryCompilationContextFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory -> Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies
Public Function With (queryCompilationContextFactory As IQueryCompilationContextFactory) As DatabaseDependencies

Parametreler

queryCompilationContextFactory
IQueryCompilationContextFactory

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

DatabaseDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır

With(IUpdateAdapterFactory)

Bu bağımlılık parametresi nesnesini bir hizmetle değiştirir.

public Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies With (Microsoft.EntityFrameworkCore.Update.IUpdateAdapterFactory updateAdapterFactory);
member this.With : Microsoft.EntityFrameworkCore.Update.IUpdateAdapterFactory -> Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies
Public Function With (updateAdapterFactory As IUpdateAdapterFactory) As DatabaseDependencies

Parametreler

updateAdapterFactory
IUpdateAdapterFactory

Bu türün geçerli bağımlılığının yerini alan.

Döndürülenler

DatabaseDependencies

Verilen hizmetin yerini alan yeni bir parametre nesnesi.

Şunlara uygulanır