IConstructorBindingFactory.TryBindConstructor Yöntem

Tanım

Aşırı Yüklemeler

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

InstantiationBindingVerilen varlık türü için bir oluşturma girişimleri veConstructorInfo

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

InstantiationBindingVerilen varlık türü için bir oluşturma girişimleri veConstructorInfo

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

InstantiationBindingVerilen varlık türü için bir oluşturma girişimleri veConstructorInfo

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

Parametreler

entityType
IConventionEntityType

Varlık türü.

constructor
ConstructorInfo

Kullanılacak Oluşturucu.

binding
InstantiationBinding

Bağlama veya null null oluşturulamıyor.

unboundParameters
IEnumerable<ParameterInfo>

Bağlanmayan parametreler.

Döndürülenler

Boolean

true bir bağlama oluşturulduysa; false Aksi takdirde.

Şunlara uygulanır

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

InstantiationBindingVerilen varlık türü için bir oluşturma girişimleri veConstructorInfo

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

constructor
ConstructorInfo

Kullanılacak Oluşturucu.

binding
InstantiationBinding

Bağlama veya null null oluşturulamıyor.

unboundParameters
IEnumerable<ParameterInfo>

Bağlanmayan parametreler.

Döndürülenler

Boolean

true bir bağlama oluşturulduysa; false Aksi takdirde.

Şunlara uygulanır