Método ExpectedSchemaCondition.Assert (DbConnection, SqlExecutionResult[])
Chamado para determinar se a condição de teste foi aprovada ou apresentou falha.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (em Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Sintaxe
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()
)
Parâmetros
validationConnection
Type: System.Data.Common.DbConnectionA conexão de validação usada.
results
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlExecutionResult[]O resultado da asserção.
Consulte também
Classe ExpectedSchemaCondition
Namespace Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Retornar ao topo