다음을 통해 공유


MutableEntityTypeExtensions.AddProperty 메서드

정의

오버로드

AddProperty(IMutableEntityType, MemberInfo)

이 엔터티 형식에 속성을 추가합니다.

AddProperty(IMutableEntityType, PropertyInfo)

이 엔터티에 속성을 추가합니다.

AddProperty(IMutableEntityType, String)

이 엔터티 형식에 속성을 추가합니다.

AddProperty(IMutableEntityType, String, Type)

이 엔터티 형식에 속성을 추가합니다.

AddProperty(IMutableEntityType, MemberInfo)

이 엔터티 형식에 속성을 추가합니다.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.MemberInfo memberInfo);
static member AddProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function AddProperty (entityType As IMutableEntityType, memberInfo As MemberInfo) As IMutableProperty

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

memberInfo
MemberInfo

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

반환

새로 만든 속성입니다.

적용 대상

AddProperty(IMutableEntityType, PropertyInfo)

이 엔터티에 속성을 추가합니다.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member AddProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function AddProperty (entityType As IMutableEntityType, propertyInfo As PropertyInfo) As IMutableProperty

매개 변수

entityType
IMutableEntityType

속성을 추가할 엔터티 형식입니다.

propertyInfo
PropertyInfo

엔터티 클래스의 해당 속성입니다.

반환

새로 만든 속성입니다.

적용 대상

AddProperty(IMutableEntityType, String)

이 엔터티 형식에 속성을 추가합니다.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
static member AddProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function AddProperty (entityType As IMutableEntityType, name As String) As IMutableProperty

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

name
String

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

반환

새로 만든 속성입니다.

적용 대상

AddProperty(IMutableEntityType, String, Type)

이 엔터티 형식에 속성을 추가합니다.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty AddProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name, Type propertyType);
static member AddProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string * Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function AddProperty (entityType As IMutableEntityType, name As String, propertyType As Type) As IMutableProperty

매개 변수

entityType
IMutableEntityType

엔터티 형식입니다.

name
String

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

propertyType
Type

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

반환

새로 만든 속성입니다.

적용 대상