LengthColumnConfiguration.HasMaxLength(Nullable<Int32>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定此資料行具有指定的最大長度。
public System.Data.Entity.ModelConfiguration.Configuration.LengthColumnConfiguration HasMaxLength (Nullable<int> value);
member this.HasMaxLength : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.LengthColumnConfiguration
Public Function HasMaxLength (value As Nullable(Of Integer)) As LengthColumnConfiguration
參數
傳回
相同的 LengthColumnConfiguration 實例,以便鏈結多個呼叫。