다음을 통해 공유


RelationalElementTypeExtensions.SetStoreType 메서드

정의

오버로드

SetStoreType(IMutableElementType, String)

요소의 데이터베이스 형식을 설정합니다.

SetStoreType(IConventionElementType, String, Boolean)

요소의 데이터베이스 형식을 설정합니다.

SetStoreType(IMutableElementType, String)

요소의 데이터베이스 형식을 설정합니다.

public static void SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IMutableElementType elementType, string? value);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IMutableElementType * string -> unit
<Extension()>
Public Sub SetStoreType (elementType As IMutableElementType, value As String)

매개 변수

elementType
IMutableElementType

요소입니다.

value
String

설정할 값입니다.

적용 대상

SetStoreType(IConventionElementType, String, Boolean)

요소의 데이터베이스 형식을 설정합니다.

public static string? SetStoreType (this Microsoft.EntityFrameworkCore.Metadata.IConventionElementType elementType, string? value, bool fromDataAnnotation = false);
static member SetStoreType : Microsoft.EntityFrameworkCore.Metadata.IConventionElementType * string * bool -> string
<Extension()>
Public Function SetStoreType (elementType As IConventionElementType, value As String, Optional fromDataAnnotation As Boolean = false) As String

매개 변수

elementType
IConventionElementType

요소입니다.

value
String

설정할 값입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

구성된 값입니다.

적용 대상