语言

ShapedQueryCompilingExpressionVisitorDependencies.With 方法

定义

重载

名称 说明
With(IEntityMaterializerSource)

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

With(ITypeMappingSource)

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

With(IMemoryCache)

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

With(IEntityMaterializerSource)

Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs
Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs
Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs

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

public Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies With(Microsoft.EntityFrameworkCore.Query.IEntityMaterializerSource entityMaterializerSource);
member this.With : Microsoft.EntityFrameworkCore.Query.IEntityMaterializerSource -> Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies
Public Function With (entityMaterializerSource As IEntityMaterializerSource) As ShapedQueryCompilingExpressionVisitorDependencies

参数

entityMaterializerSource
IEntityMaterializerSource

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

返回

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

适用于

With(ITypeMappingSource)

Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs
Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs
Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs

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

public Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies With(Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource typeMappingSource);
member this.With : Microsoft.EntityFrameworkCore.Storage.ITypeMappingSource -> Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies
Public Function With (typeMappingSource As ITypeMappingSource) As ShapedQueryCompilingExpressionVisitorDependencies

参数

typeMappingSource
ITypeMappingSource

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

返回

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

适用于

With(IMemoryCache)

Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs
Source:
ShapedQueryCompilingExpressionVisitorDependencies.cs

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

public Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies With(Microsoft.Extensions.Caching.Memory.IMemoryCache memoryCache);
member this.With : Microsoft.Extensions.Caching.Memory.IMemoryCache -> Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitorDependencies
Public Function With (memoryCache As IMemoryCache) As ShapedQueryCompilingExpressionVisitorDependencies

参数

memoryCache
IMemoryCache

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

返回

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

适用于