RuntimeProperty.IReadOnlyProperty.GetMaxLength Metodo

Definizione

Ottiene la lunghezza massima dei dati consentiti in questa proprietà. Ad esempio, se la proprietà è un String oggetto , si tratta del numero massimo di caratteri.

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

Restituisce

Lunghezza massima, -1 se la proprietà non ha lunghezza massima o null se la lunghezza massima non è stata impostata.

Implementazioni

Attributi

Si applica a