MetaDataMember.CanBeNull Property

 

Gets whether the value of this member can be assigned the null value.

Namespace:   System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

public abstract bool CanBeNull { get; }

Property Value

Type: System.Boolean

true if this member can be assigned the null value; otherwise, false.

This property is dependent on the DbType property, and is provided for convenience.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: