ResultSetCondition.Assert Method (DbConnection, SqlExecutionResult[])
Validates input parameters.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
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()
)
Parameters
validationConnection
Type: System.Data.Common.DbConnectionThe context that is used to verify the state of the database, if it is required. The DbConnection that is contained in the context must be open.
results
Type: Microsoft.Data.Tools.Schema.Sql.UnitTesting.SqlExecutionResult[]An array of SqlExecutionResult instances.
See Also
ResultSetCondition Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace
Return to top