Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies that the result set of a database unit test must match a specific schema.
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.DataSetTestCondition
Microsoft.Data.Tools.Schema.Sql.UnitTesting.Conditions.ExpectedSchemaCondition
Syntax
[PartCreationPolicyAttribute(CreationPolicy.NonShared)]
public class ExpectedSchemaCondition : DataSetTestCondition
[PartCreationPolicyAttribute(CreationPolicy::NonShared)]
public ref class ExpectedSchemaCondition : DataSetTestCondition
[<PartCreationPolicyAttribute(CreationPolicy.NonShared)>]
type ExpectedSchemaCondition =
class
inherit DataSetTestCondition
end
<PartCreationPolicyAttribute(CreationPolicy.NonShared)>
Public Class ExpectedSchemaCondition
Inherits DataSetTestCondition
Constructors
Name | Description | |
---|---|---|
![]() |
ExpectedSchemaCondition() | Initializes a new instance of the ExpectedSchemaCondition class. |
Properties
Name | Description | |
---|---|---|
![]() |
CanRaiseEvents | (Inherited from Component.) |
![]() |
Configuration | Gets or sets the configuration information for the test condition.(Inherited from DataSetTestCondition.) |
![]() |
Container | (Inherited from Component.) |
![]() |
DesignMode | (Inherited from Component.) |
![]() |
Enabled | Gets or sets a value that indicates whether the test condition is enabled.(Inherited from TestCondition.) |
![]() |
Events | (Inherited from Component.) |
![]() |
Name | Gets or sets the test condition name.(Inherited from TestCondition.) |
![]() |
Schema | Gets or sets the expected schema. |
![]() |
Site | (Inherited from Component.) |
![]() |
Verbose | Gets or sets a value that indicates whether the output from the condition should include the schema. |
Methods
Events
Name | Description | |
---|---|---|
![]() |
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