ColumnAttribute::CanBeNull Property
.NET Framework (current version)
Gets or sets whether a column can contain null values.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
If you set this value to false, the data in the corresponding column is assumed to be non-null.
Note |
|---|
This property is duplicated from the DbType property for convenience. The CreateDatabase method uses only the DbType property. For this reason, you must specify whether a column can contain null values in the DbType property also. |
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show:
