IConstraintFactory Interface
Defines methods that are used to create constraint objects.
Namespace: Microsoft.SqlServer.Management.SqlParser.MetadataProvider
Assembly: Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)
Syntax
'Declaration
Public Interface IConstraintFactory
'Usage
Dim instance As IConstraintFactory
public interface IConstraintFactory
public interface class IConstraintFactory
type IConstraintFactory = interface end
public interface IConstraintFactory
The IConstraintFactory type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateCheckConstraint | Creates an IMutableCheckConstraint object that has the specified name. | |
CreateDefaultConstraint | Creates an IMutableDefaultConstraint object that has the specified name. | |
CreateForeignKeyColumn | Creates an IForeignKeyColumn object that has the specified referencing and referenced IColumn objects. | |
CreateForeignKeyConstraint | Creates an IMutableForeignKeyConstraint object that belongs to the specified ITable and has the specified name. | |
CreatePrimaryKeyConstraint | Creates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object. | |
CreateUniqueConstraint | Creates an IuniqueConstraint object that is associated with the specified IRelationalIndex object. |
Top
See Also
Reference
Microsoft.SqlServer.Management.SqlParser.MetadataProvider Namespace