다음을 통해 공유


DbCommandTree.UseDatabaseNullSemantics 속성

정의

두 피연산자를 비교할 때 데이터베이스 null 의미 체계가 표시되는지 여부를 나타내는 값을 가져옵니다. 이 두 피연산자는 모두 잠재적으로 null 허용일 수 있습니다. 기본값은 true입니다.

예를 들어 (operand1 == operand2)는 다음과 같이 변환됩니다.

(operand1 = operand2)

UseDatabaseNullSemantics가 true이면 각각

(((operand1 = operand2) AND (NOT (operand1 IS NULL OR operand2 IS NULL)) OR ((operand1 IS NULL) AND (operand2 IS NULL))

UseDatabaseNullSemantics가 false이면 입니다.

public bool UseDatabaseNullSemantics { get; }
member this.UseDatabaseNullSemantics : bool
Public ReadOnly Property UseDatabaseNullSemantics As Boolean

속성 값

true 데이터베이스 null 비교 동작을 사용하도록 설정하면 이고, 그렇지 않으면 false 입니다.

적용 대상