Condividi tramite


Proprietà ScalarValueCondition.NullExpected

 

Ottiene o imposta un valore che indica se ExpectedValue prevede un valore null.

Spazio dei nomi:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Sintassi

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

Valore proprietà

Type: System.Boolean

Note

Questa proprietà viene impostata automaticamente su true quando ExpectedValue è null.Se si imposta NullExpected su true, ExpectedValue viene impostato automaticamente su null.

Vedere anche

Classe ScalarValueCondition
Spazio dei nomi Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions

Torna all'inizio