共用方式為


UpdateSqlGeneratorDependencies.With 方法

定義

多載

With(IRelationalTypeMappingSource)

複製此相依性參數物件,並取代一個服務。

With(ISqlGenerationHelper)

複製此相依性參數物件,並取代一個服務。

With(IRelationalTypeMappingSource)

來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
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)

來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
UpdateSqlGeneratorDependencies.cs
來源:
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

取代此類型的目前相依性。

傳回

已取代指定服務的新參數物件。

適用於