SchemaTableColumn.AllowDBNull Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies whether value DBNull
is allowed.
public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String
Field Value
Remarks
Returns the string "true" if DBNull is allowed; otherwise "false".
Note
Avoid setting AllowDbNull
to "true" for primary key columns. A column defined as a primary key can be set to AllowDbNull
, but a null value cannot be assigned to it.
Applies to
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.