다음을 통해 공유


RelationalModelExtensions.SetMaxIdentifierLength 메서드

정의

오버로드

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

저장소 식별자에 허용되는 최대 길이를 설정합니다.

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

저장소 식별자에 허용되는 최대 길이를 설정합니다.

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

저장소 식별자에 허용되는 최대 길이를 설정합니다.

public static void SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? length, bool fromDataAnnotation = false);
public static int? SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? length, bool fromDataAnnotation = false);
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> unit
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetMaxIdentifierLength (model As IConventionModel, length As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetMaxIdentifierLength (model As IConventionModel, length As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

매개 변수

model
IConventionModel

기본 스키마를 설정할 모델입니다.

length
Nullable<Int32>

설정할 값입니다.

fromDataAnnotation
Boolean

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

반환

구성된 값입니다.

적용 대상

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

저장소 식별자에 허용되는 최대 길이를 설정합니다.

public static void SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, int? length);
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Nullable<int> -> unit
<Extension()>
Public Sub SetMaxIdentifierLength (model As IMutableModel, length As Nullable(Of Integer))

매개 변수

model
IMutableModel

기본 스키마를 설정할 모델입니다.

length
Nullable<Int32>

설정할 값입니다.

적용 대상