Freigeben über


NotEmptyResultSetCondition-Klasse

 

Stellt eine Bedingung dar, bei der die SqlExecutionResult.DataSet-Eigenschaft nicht leer sein darf.

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

Vererbungshierarchie

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.NotEmptyResultSetCondition

Syntax

[PartCreationPolicyAttribute(CreationPolicy.NonShared)]
public class NotEmptyResultSetCondition : ResultSetCondition
[PartCreationPolicyAttribute(CreationPolicy::NonShared)]
public ref class NotEmptyResultSetCondition : ResultSetCondition
[<PartCreationPolicyAttribute(CreationPolicy.NonShared)>]
type NotEmptyResultSetCondition = 
    class
        inherit ResultSetCondition
    end
<PartCreationPolicyAttribute(CreationPolicy.NonShared)>
Public Class NotEmptyResultSetCondition
    Inherits ResultSetCondition

Konstruktoren

Name Beschreibung
System_CAPS_pubmethod NotEmptyResultSetCondition()

Initialisiert eine neue Instanz der NotEmptyResultSetCondition-Klasse.

Eigenschaften

Name Beschreibung
System_CAPS_protproperty CanRaiseEvents

(Geerbt von Component.)

System_CAPS_pubproperty Container

(Geerbt von Component.)

System_CAPS_protproperty DesignMode

(Geerbt von Component.)

System_CAPS_pubproperty Enabled

Ruft einen Wert ab, der angibt, ob die Testbedingung aktiviert ist, oder legt ihn fest.(Geerbt von TestCondition.)

System_CAPS_protproperty Events

(Geerbt von Component.)

System_CAPS_pubproperty Name

Ruft den Namen der Testbedingung ab oder legt ihn fest.(Geerbt von TestCondition.)

System_CAPS_pubproperty ResultSet

Ruft das Resultset in dem zu überprüfenden SqlExecutionResult ab oder legt es fest.(Geerbt von ResultSetCondition.)

System_CAPS_pubproperty Site

(Geerbt von Component.)

Methoden

Name Beschreibung
System_CAPS_pubmethod Assert(DbConnection, SqlExecutionResult[])

Überprüft Eingabeparameter.(Geerbt von ResultSetCondition.)

System_CAPS_pubmethod CreateObjRef(Type)

(Geerbt von MarshalByRefObject.)

System_CAPS_pubmethod Dispose()

(Geerbt von Component.)

System_CAPS_protmethod Dispose(Boolean)

(Geerbt von Component.)

System_CAPS_pubmethod Equals(Object)

(Geerbt von Object.)

System_CAPS_protmethod Finalize()

(Geerbt von Component.)

System_CAPS_pubmethod GetHashCode()

(Geerbt von Object.)

System_CAPS_pubmethod GetLifetimeService()

(Geerbt von MarshalByRefObject.)

System_CAPS_protmethod GetService(Type)

(Geerbt von Component.)

System_CAPS_pubmethod GetType()

(Geerbt von Object.)

System_CAPS_pubmethod InitializeLifetimeService()

(Geerbt von MarshalByRefObject.)

System_CAPS_protmethod MemberwiseClone()

(Geerbt von Object.)

System_CAPS_protmethod MemberwiseClone(Boolean)

(Geerbt von MarshalByRefObject.)

System_CAPS_pubmethod ToString()

Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt.(Setzt "Component.ToString()" außer Kraft.)

Ereignisse

Name Beschreibung
System_CAPS_pubevent Disposed

(Geerbt von Component.)

Threadsicherheit

Öffentliche statische (in Visual Basic freigegebene) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

SqlExecutionResult
ResultSetCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions-Namespace

Zurück zum Anfang