다음을 통해 공유


IMutableTypeBase.AddComplexIndexerProperty 메서드

정의

인덱서에서 백업한 복합 속성을 이 형식에 추가합니다.

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty AddComplexIndexerProperty (string name, Type propertyType, Type complexType, string? complexTypeName = default, bool collection = false);
abstract member AddComplexIndexerProperty : string * Type * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.AddComplexIndexerProperty : string * Type * Type * string * bool -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function AddComplexIndexerProperty (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

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

반환

새로 만든 속성입니다.

적용 대상