Aracılığıyla paylaş


IMutableTypeBase.AddComplexProperty Yöntem

Tanım

Aşırı Yüklemeler

AddComplexProperty(String, Boolean)

Bu türe karmaşık bir özellik ekler.

AddComplexProperty(MemberInfo, String, Boolean)

Bu türe karmaşık bir özellik ekler.

AddComplexProperty(String, Type, Type, String, Boolean)

Bu türe karmaşık bir özellik ekler.

AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean)

Bu türe karmaşık bir özellik ekler.

AddComplexProperty(String, Boolean)

Bu türe karmaşık bir özellik ekler.

public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, bool collection = false);
abstract member AddComplexProperty : string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, Optional collection As Boolean = false) As IMutableComplexProperty

Parametreler

name
String

Eklenecek özelliğin adı.

collection
Boolean

Özelliğin bir koleksiyonu temsil edip etmediğini gösterir.

Döndürülenler

Yeni oluşturulan özellik.

Şunlara uygulanır

AddComplexProperty(MemberInfo, String, Boolean)

Bu türe karmaşık bir özellik ekler.

[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Currently used only in tests")]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (System.Reflection.MemberInfo memberInfo, string? complexTypeName = default, bool collection = false);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Currently used only in tests")>]
abstract member AddComplexProperty : System.Reflection.MemberInfo * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.AddComplexProperty : System.Reflection.MemberInfo * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function AddComplexProperty (memberInfo As MemberInfo, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty

Parametreler

memberInfo
MemberInfo

Sınıfta karşılık gelen üye.

complexTypeName
String

Karmaşık türün adı.

collection
Boolean

Özelliğin bir koleksiyonu temsil edip etmediğini gösterir.

Döndürülenler

Yeni oluşturulan özellik.

Öznitelikler

Şunlara uygulanır

AddComplexProperty(String, Type, Type, String, Boolean)

Bu türe karmaşık bir özellik ekler.

public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, Type propertyType, Type complexType, string? complexTypeName = default, bool collection = false);
abstract member AddComplexProperty : string * Type * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, propertyType As Type, complexType As Type, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty

Parametreler

name
String

Eklenecek özelliğin adı.

propertyType
Type

Özellik türü.

complexType
Type

Özelliğin tutacağı değerin türü.

complexTypeName
String

Karmaşık türün adı.

collection
Boolean

Özelliğin bir koleksiyonu temsil edip etmediğini gösterir.

Döndürülenler

Yeni oluşturulan özellik.

Şunlara uygulanır

AddComplexProperty(String, Type, MemberInfo, Type, String, Boolean)

Bu türe karmaşık bir özellik ekler.

public Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexProperty (string name, Type propertyType, System.Reflection.MemberInfo memberInfo, Type complexType, string? complexTypeName = default, bool collection = false);
abstract member AddComplexProperty : string * Type * System.Reflection.MemberInfo * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Function AddComplexProperty (name As String, propertyType As Type, memberInfo As MemberInfo, complexType As Type, Optional complexTypeName As String = Nothing, Optional collection As Boolean = false) As IMutableComplexProperty

Parametreler

name
String

Eklenecek özelliğin adı.

propertyType
Type

Özellik türü.

memberInfo
MemberInfo

Karşılık gelen CLR türü üyesi.

Parametre ve Object dönüş türüne sahip bir String dizin oluşturucu kullanılabilir.

complexType
Type

Özelliğin tutacağı değerin türü.

complexTypeName
String

Karmaşık türün adı.

collection
Boolean

Özelliğin bir koleksiyonu temsil edip etmediğini gösterir.

Döndürülenler

Yeni oluşturulan özellik.

Şunlara uygulanır