IConstructorBindingFactory.TryBindConstructor Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Veri Akışı Adı | Description |
|---|---|
| TryBindConstructor(IConventionEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>) |
Geçersiz.
Verilen varlık türü ve için oluşturma InstantiationBinding girişimleri ConstructorInfo |
| TryBindConstructor(IMutableEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>) |
Geçersiz.
Verilen varlık türü ve için oluşturma InstantiationBinding girişimleri ConstructorInfo |
TryBindConstructor(IConventionEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)
Dikkat
Use GetBindings
Verilen varlık türü ve için oluşturma InstantiationBinding girişimleri ConstructorInfo
[System.Obsolete("Use GetBindings")]
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);
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);
[<System.Obsolete("Use GetBindings")>]
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
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 nullnull oluşturulup oluşturulamadığı.
- unboundParameters
- IEnumerable<ParameterInfo>
Bağlanamayan parametreler.
Döndürülenler
true bir bağlama oluşturulduysa; false aksi takdirde.
- Özellikler
Şunlara uygulanır
TryBindConstructor(IMutableEntityType, ConstructorInfo, InstantiationBinding, IEnumerable<ParameterInfo>)
Dikkat
Use GetBindings
Verilen varlık türü ve için oluşturma InstantiationBinding girişimleri ConstructorInfo
[System.Obsolete("Use GetBindings")]
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);
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);
[<System.Obsolete("Use GetBindings")>]
abstract member TryBindConstructor : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.ConstructorInfo * InstantiationBinding * seq -> bool
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 nullnull oluşturulup oluşturulamadığı.
- unboundParameters
- IEnumerable<ParameterInfo>
Bağlanamayan parametreler.
Döndürülenler
true bir bağlama oluşturulduysa; false aksi takdirde.
- Özellikler