语言

RelationalMethodCallTranslatorProviderDependencies 构造函数

定义

重载

名称 说明
RelationalMethodCallTranslatorProviderDependencies(ISqlExpressionFactory, IEnumerable<IMethodCallTranslatorPlugin>)

为 . RelationalMethodCallTranslatorProvider. 创建服务依赖项参数对象。

请勿直接从提供程序或应用程序代码调用此构造函数,因为它可能会在添加新依赖项时更改。 请改用构造函数中的此类型,以便依赖项注入容器自动创建和注入实例。 若要创建已替换某些依赖服务的实例,请先从依赖项注入容器解析对象,然后使用“With...”替换所选服务方法。 在此进程中的任何时刻不要调用构造函数。

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

RelationalMethodCallTranslatorProviderDependencies(ISqlExpressionFactory, IEnumerable<IMethodCallTranslatorPlugin>, IRelationalTypeMappingSource)

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

RelationalMethodCallTranslatorProviderDependencies(ISqlExpressionFactory, IEnumerable<IMethodCallTranslatorPlugin>)

Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs

为 . RelationalMethodCallTranslatorProvider. 创建服务依赖项参数对象。

请勿直接从提供程序或应用程序代码调用此构造函数,因为它可能会在添加新依赖项时更改。 请改用构造函数中的此类型,以便依赖项注入容器自动创建和注入实例。 若要创建已替换某些依赖服务的实例,请先从依赖项注入容器解析对象,然后使用“With...”替换所选服务方法。 在此进程中的任何时刻不要调用构造函数。

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RelationalMethodCallTranslatorProviderDependencies(Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> plugins);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory * seq<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Sub New (sqlExpressionFactory As ISqlExpressionFactory, plugins As IEnumerable(Of IMethodCallTranslatorPlugin))

参数

sqlExpressionFactory
ISqlExpressionFactory
特性

适用于

RelationalMethodCallTranslatorProviderDependencies(ISqlExpressionFactory, IEnumerable<IMethodCallTranslatorPlugin>, IRelationalTypeMappingSource)

Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs
Source:
RelationalMethodCallTranslatorProviderDependencies.cs

这是一个内部 API,支持Entity Framework Core基础结构,不受与公共 API 相同的兼容性标准的约束。 可以在任何版本中更改或删除它,而不通知。 只需在代码中直接使用它,并非常谨慎地知道这样做可能会导致应用程序在更新到新的Entity Framework Core版本时失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public RelationalMethodCallTranslatorProviderDependencies(Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory sqlExpressionFactory, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> plugins, Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies : Microsoft.EntityFrameworkCore.Query.ISqlExpressionFactory * seq<Microsoft.EntityFrameworkCore.Query.IMethodCallTranslatorPlugin> * Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource -> Microsoft.EntityFrameworkCore.Query.RelationalMethodCallTranslatorProviderDependencies
Public Sub New (sqlExpressionFactory As ISqlExpressionFactory, plugins As IEnumerable(Of IMethodCallTranslatorPlugin), typeMappingSource As IRelationalTypeMappingSource)

参数

sqlExpressionFactory
ISqlExpressionFactory
typeMappingSource
IRelationalTypeMappingSource
特性

注解

请勿直接从提供程序或应用程序代码调用此构造函数,因为它可能会在添加新依赖项时更改。 请改用构造函数中的此类型,以便依赖项注入容器自动创建和注入实例。 若要创建已替换某些依赖服务的实例,请先从依赖项注入容器解析对象,然后使用 C# “with” 运算符替换所选服务。 在此进程中的任何时刻不要调用构造函数。

适用于