Share via


RelationalModelExtensions.SetMaxIdentifierLength メソッド

定義

オーバーロード

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

ストア識別子に許可される最大長を設定します。

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

ストア識別子に許可される最大長を設定します。

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

ストア識別子に許可される最大長を設定します。

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>)

ストア識別子に許可される最大長を設定します。

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>

設定する値。

適用対象