共用方式為


IConstructorBindingFactory.GetBindings 方法

定義

多載

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

只有服務屬性參數之建構函式的系結。

適用於