Sprache

BinaryPropertyConfiguration.HasMaxLength(Nullable<Int32>) Methode

Definition

Konfiguriert die Eigenschaft so, dass sie die angegebene maximale Länge aufweist.

public System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration HasMaxLength(Nullable<int> value);
override this.HasMaxLength : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.BinaryPropertyConfiguration
Public Function HasMaxLength (value As Nullable(Of Integer)) As BinaryPropertyConfiguration

Parameter

value
Nullable<Int32>

Die maximale Länge für die Eigenschaft. Durch Festlegen von "null" werden alle Einschränkungen der maximalen Länge aus der Eigenschaft entfernt.

Gibt zurück

Dieselbe BinaryPropertyConfiguration-Instanz, sodass mehrere Aufrufe verkettet werden können.

Gilt für: