Delen via


UpdateSqlGeneratorDependencies.With Method

Definition

Overloads

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

With(ISqlGenerationHelper)

Clones this dependency parameter object with one service replaced.

With(IRelationalTypeMappingSource)

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Update.UpdateSqlGeneratorDependencies
Public Function With (typeMappingSource As IRelationalTypeMappingSource) As UpdateSqlGeneratorDependencies

Parameters

typeMappingSource
IRelationalTypeMappingSource

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to

With(ISqlGenerationHelper)

Clones this dependency parameter object with one service replaced.

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

Parameters

sqlGenerationHelper
ISqlGenerationHelper

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to