Share via


DatabaseDependencies.With Method

Definition

Overloads

With(IQueryCompilationContextFactory)

Clones this dependency parameter object with one service replaced.

With(IUpdateAdapterFactory)

Clones this dependency parameter object with one service replaced.

With(IQueryCompilationContextFactory)

Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs

Clones this dependency parameter object with one service replaced.

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

Parameters

queryCompilationContextFactory
IQueryCompilationContextFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(IUpdateAdapterFactory)

Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs
Source:
DatabaseDependencies.cs

Clones this dependency parameter object with one service replaced.

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

Parameters

updateAdapterFactory
IUpdateAdapterFactory

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to