EdmScalarPropertyAttribute.IsNullable 属性

定义

获取或设置指示属性是否可以具有 null 值的值。

public:
 property bool IsNullable { bool get(); void set(bool value); };
public bool IsNullable { get; set; }
member this.IsNullable : bool with get, set
Public Property IsNullable As Boolean

属性值

指示属性是否可以具有 null 值的值。

注解

IsNullable属性EntityKeyProperty不能true是 。

适用于