LengthPropertyConfiguration.HasMaxLength(Nullable<Int32>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将属性配置为具有指定的最大长度。
public System.Data.Entity.ModelConfiguration.Configuration.LengthPropertyConfiguration HasMaxLength (Nullable<int> value);
member this.HasMaxLength : Nullable<int> -> System.Data.Entity.ModelConfiguration.Configuration.LengthPropertyConfiguration
Public Function HasMaxLength (value As Nullable(Of Integer)) As LengthPropertyConfiguration
参数
返回
相同的 LengthPropertyConfiguration 实例,以便可以链接多个调用。