語言

DbCommandTree.UseDatabaseNullSemantics 屬性

定義

取得一個值,表示在比較兩個運算元時是否顯示資料庫空語意,兩者皆可能為空。 預設值為 True。

例如,(運算元1 == 運算元2)會被翻譯為:

(運算元1 = 運算元2)

如果 UseDatabaseNullSemantics 為真

((((運算元1 = 運算元2) 與 (NOT (運算元1為空或運算元2為空))或((運算元1為空)與(運算元2為空))))

如果 UseDatabaseNullSemantics 為假。

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

屬性值

true 若啟用資料庫空比對行為,否則 false 。

適用於