다음을 통해 공유


IMutableEntityType.AddIndexerProperty(String, Type) 메서드

정의

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddIndexerProperty (string name, Type propertyType);
abstract member AddIndexerProperty : string * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
override this.AddIndexerProperty : string * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Overridable Function AddIndexerProperty (name As String, propertyType As Type) As IMutableProperty

매개 변수

name
String

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

propertyType
Type

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

반환

새로 만든 속성입니다.

적용 대상