共用方式為


RuntimeTypeMappingConfiguration.ITypeMappingConfiguration.GetMaxLength 方法

定義

取得這個屬性中允許的資料長度上限。 例如,如果 屬性是 String ,則這是字元數上限。

[System.Diagnostics.DebuggerStepThrough]
int? ITypeMappingConfiguration.GetMaxLength ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration.GetMaxLength : unit -> Nullable<int>
override this.Microsoft.EntityFrameworkCore.Metadata.ITypeMappingConfiguration.GetMaxLength : unit -> Nullable<int>
Function GetMaxLength () As Nullable(Of Integer) Implements ITypeMappingConfiguration.GetMaxLength

傳回

最大長度,如果未定義,則 null 為 。

實作

屬性

適用於