DbColumn.AllowDBNull 속성

정의

이 열에서 값이 허용되는지 여부를 DBNull 나타내는 nullable 부울 값을 가져오거나 값이 설정되지 않은 경우 반환 null 합니다. 이 열에서 true 값이 허용되는지 여부를 나타내는 false 또는 DBNull 또는 파생 클래스에서 재정의될 때 null(Visual Basic에서는 Nothing)로 설정할 수 있습니다.

public:  property Nullable<bool> AllowDBNull {  public:
Nullable<bool> get(); protected:
 void set(Nullable<bool> value); };
public bool? AllowDBNull { get; protected set; }
member this.AllowDBNull : Nullable<bool> with get, set
Public Property AllowDBNull As Nullable(Of Boolean)

속성 값

이 열에서 값이 허용되는 경우 true 를 반환 DBNull 하고, false그렇지 않으면 . 값이 설정되지 않은 경우 null 참조(Visual Basic Nothing)를 반환합니다.

적용 대상