IConventionEntityTypeBuilder.GetOrCreateProperties 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
| GetOrCreateProperties(IReadOnlyList<String>, Boolean) |
Verilen adlarla mevcut özellikleri döndürür veya eşleşen CLR üyeleri bulunursa bunları oluşturur. |
| GetOrCreateProperties(IEnumerable<MemberInfo>, Boolean) |
Verilen üyelerle eşleşen mevcut özellikleri döndürür veya bunları oluşturur. |
GetOrCreateProperties(IReadOnlyList<String>, Boolean)
Verilen adlarla mevcut özellikleri döndürür veya eşleşen CLR üyeleri bulunursa bunları oluşturur.
public System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> GetOrCreateProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames, bool fromDataAnnotation = false);
public System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? GetOrCreateProperties (System.Collections.Generic.IReadOnlyList<string>? propertyNames, bool fromDataAnnotation = false);
abstract member GetOrCreateProperties : System.Collections.Generic.IReadOnlyList<string> * bool -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Function GetOrCreateProperties (propertyNames As IReadOnlyList(Of String), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of IConventionProperty)
Parametreler
- propertyNames
- IReadOnlyList<String>
Özelliklerin adları.
- fromDataAnnotation
- Boolean
Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.
Döndürülenler
Varlık türünde mevcutsa özelliklerin listesi, aksi null takdirde.
Şunlara uygulanır
GetOrCreateProperties(IEnumerable<MemberInfo>, Boolean)
Verilen üyelerle eşleşen mevcut özellikleri döndürür veya bunları oluşturur.
public System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> GetOrCreateProperties (System.Collections.Generic.IEnumerable<System.Reflection.MemberInfo> memberInfos, bool fromDataAnnotation = false);
public System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? GetOrCreateProperties (System.Collections.Generic.IEnumerable<System.Reflection.MemberInfo>? memberInfos, bool fromDataAnnotation = false);
abstract member GetOrCreateProperties : seq<System.Reflection.MemberInfo> * bool -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Function GetOrCreateProperties (memberInfos As IEnumerable(Of MemberInfo), Optional fromDataAnnotation As Boolean = false) As IReadOnlyList(Of IConventionProperty)
Parametreler
- memberInfos
- IEnumerable<MemberInfo>
Tür üyeleri.
- fromDataAnnotation
- Boolean
Yapılandırmanın veri ek açıklaması kullanılarak belirtilmemiş olup olmadığını gösterir.
Döndürülenler
Varlık türünde mevcutsa özelliklerin listesi, aksi null takdirde.