语言

SqlFacetAttribute.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

属性值

如果用户定义类型的返回类型可以为 true,则为 null;否则为 false。

注解

默认值为 true。

适用于