다음을 통해 공유


IConstructorBindingFactory.TryBindConstructor 메서드

정의

오버로드

TryBindConstructor(IConventionEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

지정된 엔터티 형식 및 에 대한 을 만들려고 InstantiationBinding 시도합니다. ConstructorInfo

TryBindConstructor(IMutableEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

지정된 엔터티 형식 및 에 대한 을 만들려고 InstantiationBinding 시도합니다. ConstructorInfo

TryBindConstructor(IConventionEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

Source:
IConstructorBindingFactory.cs
Source:
IConstructorBindingFactory.cs
Source:
IConstructorBindingFactory.cs

지정된 엔터티 형식 및 에 대한 을 만들려고 InstantiationBinding 시도합니다. ConstructorInfo

public bool TryBindConstructor (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> unboundParameters);
public bool TryBindConstructor (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo>? unboundParameters);
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
Public Function TryBindConstructor (entityType As IConventionEntityType, constructor As ConstructorInfo, ByRef binding As InstantiationBinding, ByRef unboundParameters As IEnumerable(Of ParameterInfo)) As Boolean

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

constructor
ConstructorInfo

사용할 생성자입니다.

binding
InstantiationBinding

바인딩 또는 null 를 만들 수 있는 경우 null 입니다.

unboundParameters
IEnumerable<ParameterInfo>

바인딩할 수 없는 매개 변수입니다.

반환

true 바인딩이 만들어졌으면 이고, false 그렇지 않으면.

적용 대상

TryBindConstructor(IMutableEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)

Source:
IConstructorBindingFactory.cs
Source:
IConstructorBindingFactory.cs
Source:
IConstructorBindingFactory.cs

지정된 엔터티 형식 및 에 대한 을 만들려고 InstantiationBinding 시도합니다. ConstructorInfo

public bool TryBindConstructor (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> unboundParameters);
public bool TryBindConstructor (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.ConstructorInfo constructor, out Microsoft.EntityFrameworkCore.Metadata.InstantiationBinding? binding, out System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo>? unboundParameters);
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
Public Function TryBindConstructor (entityType As IMutableEntityType, constructor As ConstructorInfo, ByRef binding As InstantiationBinding, ByRef unboundParameters As IEnumerable(Of ParameterInfo)) As Boolean

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

constructor
ConstructorInfo

사용할 생성자입니다.

binding
InstantiationBinding

바인딩 또는 null 를 만들 수 있는 경우 null 입니다.

unboundParameters
IEnumerable<ParameterInfo>

바인딩할 수 없는 매개 변수입니다.

반환

true 바인딩이 만들어졌으면 이고, false 그렇지 않으면.

적용 대상