ServiceParameterBinding 构造函数

定义

重载

ServiceParameterBinding(Type, Type, IPropertyBase)

为给定的服务类型或元数据类型创建一个新 ServiceParameterBinding 实例。

ServiceParameterBinding(Type, Type, IPropertyBase[])

为给定的服务类型或元数据类型创建一个新 ServiceParameterBinding 实例。

ServiceParameterBinding(Type, Type, IPropertyBase)

为给定的服务类型或元数据类型创建一个新 ServiceParameterBinding 实例。

protected ServiceParameterBinding (Type parameterType, Type serviceType, Microsoft.EntityFrameworkCore.Metadata.IPropertyBase serviceProperty = default);
new Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
Protected Sub New (parameterType As Type, serviceType As Type, Optional serviceProperty As IPropertyBase = Nothing)

参数

parameterType
Type

参数 CLR 类型。

serviceType
Type

服务或元数据 CLR 类型。

serviceProperty
IPropertyBase

关联的 IServiceProperty或 null。

适用于

ServiceParameterBinding(Type, Type, IPropertyBase[])

为给定的服务类型或元数据类型创建一个新 ServiceParameterBinding 实例。

protected ServiceParameterBinding (Type parameterType, Type serviceType, params Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[]? serviceProperties);
new Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding : Type * Type * Microsoft.EntityFrameworkCore.Metadata.IPropertyBase[] -> Microsoft.EntityFrameworkCore.Metadata.ServiceParameterBinding
Protected Sub New (parameterType As Type, serviceType As Type, ParamArray serviceProperties As IPropertyBase())

参数

parameterType
Type

参数 CLR 类型。

serviceType
Type

服务或元数据 CLR 类型。

serviceProperties
IPropertyBase[]

关联的 IServiceProperty 实例,或 null。

适用于