RelationalConventionSetBuilderDependencies.With Method

Definition

Clones this dependency parameter object with one service replaced.

public Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies With (Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider relationalAnnotationProvider);
member this.With : Microsoft.EntityFrameworkCore.Metadata.IRelationalAnnotationProvider -> Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.RelationalConventionSetBuilderDependencies
Public Function With (relationalAnnotationProvider As IRelationalAnnotationProvider) As RelationalConventionSetBuilderDependencies

Parameters

relationalAnnotationProvider
IRelationalAnnotationProvider

A replacement for the current dependency of this type.

Returns

A new parameter object with the given service replaced.

Applies to