다음을 통해 공유


IMutableTypeBase.AddComplexProperty 메서드

정의

오버로드

AddComplexProperty(String, Boolean)

이 형식에 복합 속성을 추가합니다.

AddComplexProperty(MemberInfo, String, Boolean)

이 형식에 복합 속성을 추가합니다.

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

이 형식에 복합 속성을 추가합니다.

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

이 형식에 복합 속성을 추가합니다.

AddComplexProperty(String, Boolean)

이 형식에 복합 속성을 추가합니다.

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

매개 변수

name
String

추가할 속성의 이름입니다.

collection
Boolean

속성이 컬렉션을 나타내는지 여부를 나타냅니다.

반환

새로 만든 속성입니다.

적용 대상

AddComplexProperty(MemberInfo, String, Boolean)

이 형식에 복합 속성을 추가합니다.

[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

매개 변수

memberInfo
MemberInfo

클래스의 해당 멤버입니다.

complexTypeName
String

복합 형식의 이름입니다.

collection
Boolean

속성이 컬렉션을 나타내는지 여부를 나타냅니다.

반환

새로 만든 속성입니다.

특성

적용 대상

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

이 형식에 복합 속성을 추가합니다.

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

매개 변수

name
String

추가할 속성의 이름입니다.

propertyType
Type

속성 형식입니다.

complexType
Type

속성이 보유할 값의 형식입니다.

complexTypeName
String

복합 형식의 이름입니다.

collection
Boolean

속성이 컬렉션을 나타내는지 여부를 나타냅니다.

반환

새로 만든 속성입니다.

적용 대상

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

이 형식에 복합 속성을 추가합니다.

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

매개 변수

name
String

추가할 속성의 이름입니다.

propertyType
Type

속성 형식입니다.

memberInfo
MemberInfo

해당 CLR 형식 멤버입니다.

매개 변수 및 Object 반환 형식이 있는 String 인덱서 를 사용할 수 있습니다.

complexType
Type

속성이 보유할 값의 형식입니다.

complexTypeName
String

복합 형식의 이름입니다.

collection
Boolean

속성이 컬렉션을 나타내는지 여부를 나타냅니다.

반환

새로 만든 속성입니다.

적용 대상