ResultSetCondition Class

 

Represents the base class for all test conditions that operate on one ResultSet.

Namespace:   Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions
Assembly:  Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.TestCondition
        Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ResultSetCondition
          Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.EmptyResultSetCondition
          Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.NotEmptyResultSetCondition
          Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.RowCountCondition
          Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ScalarValueCondition

Syntax

public abstract class ResultSetCondition : TestCondition
public ref class ResultSetCondition abstract : TestCondition
[<AbstractClass>]
type ResultSetCondition = 
    class
        inherit TestCondition
    end
Public MustInherit Class ResultSetCondition
    Inherits TestCondition

Constructors

Name Description
System_CAPS_protmethod ResultSetCondition()

Initializes a new instance of the ResultSetCondition class.

Properties

Name Description
System_CAPS_protproperty CanRaiseEvents

(Inherited from Component.)

System_CAPS_pubproperty Container

(Inherited from Component.)

System_CAPS_protproperty DesignMode

(Inherited from Component.)

System_CAPS_pubproperty Enabled

Gets or sets a value that indicates whether the test condition is enabled.(Inherited from TestCondition.)

System_CAPS_protproperty Events

(Inherited from Component.)

System_CAPS_pubproperty Name

Gets or sets the test condition name.(Inherited from TestCondition.)

System_CAPS_pubproperty ResultSet

Gets or sets the result set in the SqlExecutionResult to check.

System_CAPS_pubproperty Site

(Inherited from Component.)

Methods

Name Description
System_CAPS_pubmethod Assert(DbConnection, SqlExecutionResult[])

Validates input parameters.(Overrides TestCondition.Assert(DbConnection, SqlExecutionResult[]).)

System_CAPS_pubmethod CreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod Dispose()

(Inherited from Component.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from Component.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Component.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod GetService(Type)

(Inherited from Component.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod ToString()

(Inherited from Component.)

Events

Name Description
System_CAPS_pubevent Disposed

(Inherited from Component.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions Namespace

Return to top