ObjectContextOptions.UseCSharpNullComparisonBehavior 属性

定义

获取或设置是否用 C# NullComparison 行为的“布尔”值。

public:
 property bool UseCSharpNullComparisonBehavior { bool get(); void set(bool value); };
public bool UseCSharpNullComparisonBehavior { get; set; }
member this.UseCSharpNullComparisonBehavior : bool with get, set
Public Property UseCSharpNullComparisonBehavior As Boolean

属性值

如果应使用 C# NullComparison 行为,则为 true;否则为 false

适用于