共用方式為


RelationalCommandBuilderDependencies.With 方法

定義

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

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

參數

typeMappingSource
IRelationalTypeMappingSource

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

傳回

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

適用於