IPropertyParameterBindingFactory.FindParameter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| FindParameter(IComplexType, Type, String) |
查找模型中的一个ParameterBindingIPropertyBase专门对象。 |
| FindParameter(IEntityType, Type, String) |
查找模型中的一个ParameterBindingIPropertyBase专门对象。 |
FindParameter(IComplexType, Type, String)
查找模型中的一个ParameterBindingIPropertyBase专门对象。
public Microsoft.EntityFrameworkCore.Metadata.ParameterBinding? FindParameter(Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, Type parameterType, string parameterName);
abstract member FindParameter : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
Public Function FindParameter (complexType As IComplexType, parameterType As Type, parameterName As String) As ParameterBinding
参数
- complexType
- IComplexType
为其定义复杂类型 IPropertyBase 。
- parameterType
- Type
参数名称。
- parameterName
- String
参数类型。
返回
参数绑定,或者 null 找不到任何参数。
适用于
FindParameter(IEntityType, Type, String)
查找模型中的一个ParameterBindingIPropertyBase专门对象。
public Microsoft.EntityFrameworkCore.Metadata.ParameterBinding? FindParameter(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Type parameterType, string parameterName);
public Microsoft.EntityFrameworkCore.Metadata.ParameterBinding FindParameter(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Type parameterType, string parameterName);
abstract member FindParameter : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Type * string -> Microsoft.EntityFrameworkCore.Metadata.ParameterBinding
Public Function FindParameter (entityType As IEntityType, parameterType As Type, parameterName As String) As ParameterBinding
参数
- entityType
- IEntityType
为其定义实体类型 IPropertyBase 。
- parameterType
- Type
参数名称。
- parameterName
- String
参数类型。
返回
参数绑定,或者 null 找不到任何参数。