Metodo ExecutionTimeCondition.Assert (DbConnection, SqlExecutionResult[])
Convalida i parametri di input.
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 override void Assert(
DbConnection validationConnection,
SqlExecutionResult[] results
)
public:
virtual void Assert(
DbConnection^ validationConnection,
array<SqlExecutionResult^>^ results
) override
override Assert :
validationConnection:DbConnection *
results:SqlExecutionResult[] -> unit
Public Overrides Sub Assert (
validationConnection As DbConnection,
results As SqlExecutionResult()
)
Parametri
validationConnection
Type: System.Data.Common.DbConnectionContesto utilizzato per verificare la stato del database, se necessario.La classe DbConnection contenuta nel contesto deve essere aperta.
results
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlExecutionResult[]Matrice di oggetti SqlExecutionResult.
Vedere anche
DbConnection
SqlExecutionResult
Classe ExecutionTimeCondition
Spazio dei nomi Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Torna all'inizio