Share via


SchemaTableColumn.AllowDBNull 필드

정의

DBNull 값이 허용되는지 여부를 지정합니다.

public: static initonly System::String ^ AllowDBNull;
public static readonly string AllowDBNull;
 staticval mutable AllowDBNull : string
Public Shared ReadOnly AllowDBNull As String 

필드 값

설명

DBNull이 허용되는 경우 문자열 "true"를 반환합니다. 그렇지 않으면 "false"입니다.

참고

기본 키 열에 대해 를 "true"로 설정 AllowDbNull 하지 마세요. 기본 키로 정의된 열은 로 설정할 AllowDbNull수 있지만 null 값은 할당할 수 없습니다.

적용 대상

추가 정보