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(String) | Obsolete. Creates an IMutableCheckConstraint object that has the specified name. |
![]() |
CreateCheckConstraint(ITabular, String) | Creates an IMutableCheckConstraint object that has the specified name. |
![]() |
CreateDefaultConstraint(String) | Obsolete. Creates an IMutableDefaultConstraint object that has the specified name. |
![]() |
CreateDefaultConstraint(IColumn, String) | 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(IRelationalIndex) | Obsolete. Creates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object. |
![]() |
CreatePrimaryKeyConstraint(ITabular, IRelationalIndex) | Creates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object. |
![]() |
CreateUniqueConstraint(IRelationalIndex) | Obsolete. Creates an IUniqueConstraint object that is associated with the specified IRelationalIndex object. |
![]() |
CreateUniqueConstraint(ITabular, IRelationalIndex) | Creates an IuniqueConstraint object that is associated with the specified IRelationalIndex object. |
Top