IConstructorBindingFactory.GetBindings 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetBindings(IConventionEntityType, InstantiationBinding, InstantiationBinding) |
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。 |
GetBindings(IMutableEntityType, InstantiationBinding, InstantiationBinding) |
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。 |
GetBindings(IReadOnlyComplexType, InstantiationBinding, InstantiationBinding) |
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。 |
GetBindings(IReadOnlyEntityType, InstantiationBinding, InstantiationBinding) |
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。 |
GetBindings(IConventionEntityType, InstantiationBinding, InstantiationBinding)
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IConventionEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
参数
- entityType
- IConventionEntityType
实体类型。
- constructorBinding
- InstantiationBinding
具有大多数参数的构造函数的绑定。
- serviceOnlyBinding
- InstantiationBinding
仅包含服务属性参数的构造函数的绑定。
适用于
GetBindings(IMutableEntityType, InstantiationBinding, InstantiationBinding)
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IMutableEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
参数
- entityType
- IMutableEntityType
实体类型。
- constructorBinding
- InstantiationBinding
具有大多数参数的构造函数的绑定。
- serviceOnlyBinding
- InstantiationBinding
仅包含服务属性参数的构造函数的绑定。
适用于
GetBindings(IReadOnlyComplexType, InstantiationBinding, InstantiationBinding)
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexType complexType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyComplexType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (complexType As IReadOnlyComplexType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
参数
- complexType
- IReadOnlyComplexType
复杂类型。
- constructorBinding
- InstantiationBinding
具有大多数参数的构造函数的绑定。
- serviceOnlyBinding
- InstantiationBinding
仅包含服务属性参数的构造函数的绑定。
适用于
GetBindings(IReadOnlyEntityType, InstantiationBinding, InstantiationBinding)
InstantiationBinding为具有大多数参数的构造函数和仅具有服务属性参数的构造函数创建 。
public void GetBindings (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding constructorBinding, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? serviceOnlyBinding);
abstract member GetBindings : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType * InstantiationBinding * InstantiationBinding -> unit
Public Sub GetBindings (entityType As IReadOnlyEntityType, ByRef constructorBinding As InstantiationBinding, ByRef serviceOnlyBinding As InstantiationBinding)
参数
- entityType
- IReadOnlyEntityType
实体类型。
- constructorBinding
- InstantiationBinding
具有大多数参数的构造函数的绑定。
- serviceOnlyBinding
- InstantiationBinding
仅包含服务属性参数的构造函数的绑定。