语言

UpdateSqlGeneratorDependencies.With 方法

定义

重载

名称 说明
With(IRelationalTypeMappingSource)

用替换了一个服务克隆此依赖项参数对象。

With(ISqlGenerationHelper)

用替换了一个服务克隆此依赖项参数对象。

With(IRelationalTypeMappingSource)

Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs

用替换了一个服务克隆此依赖项参数对象。

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

参数

typeMappingSource
IRelationalTypeMappingSource

替换此类型的当前依赖项。

返回

替换为给定服务的新参数对象。

适用于

With(ISqlGenerationHelper)

Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs
Source:
UpdateSqlGeneratorDependencies.cs

用替换了一个服务克隆此依赖项参数对象。

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

参数

sqlGenerationHelper
ISqlGenerationHelper

替换此类型的当前依赖项。

返回

替换为给定服务的新参数对象。

适用于