ScalarValueCondition.NullExpected 属性

 

获取或设置一个值,该值指示 ExpectedValue 是否应包含 null 值。

命名空间:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
程序集:  Microsoft.Data.Tools.Schema.Sql.UnitTesting(Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll 中)

语法

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

属性值

Type: System.Boolean

备注

ExpectedValuenull 时,此属性自动设置为 true。如果将 NullExpected 设置为 true,则 ExpectedValue 自动设置为 null

请参阅

ScalarValueCondition 类
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions 命名空间

返回页首