共用方式為


RelationalQueryCompilationContextDependencies.With 方法

定義

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

public Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies With (Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory nodeTypeProviderFactory);
member this.With : Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory -> Microsoft.EntityFrameworkCore.Query.RelationalQueryCompilationContextDependencies
Public Function With (nodeTypeProviderFactory As INodeTypeProviderFactory) As RelationalQueryCompilationContextDependencies

參數

nodeTypeProviderFactory
Microsoft.EntityFrameworkCore.Query.Internal.INodeTypeProviderFactory

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

傳回

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

適用於