Export (0) Print
Expand All

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)

public interface IConstraintFactory

The IConstraintFactory type exposes the following members.

  NameDescription
Public methodCreateCheckConstraintCreates an IMutableCheckConstraint object that has the specified name.
Public methodCreateDefaultConstraintCreates an IMutableDefaultConstraint object that has the specified name.
Public methodCreateForeignKeyColumnCreates an IForeignKeyColumn object that has the specified referencing and referenced IColumn objects.
Public methodCreateForeignKeyConstraintCreates an IMutableForeignKeyConstraint object that belongs to the specified ITable and has the specified name.
Public methodCreatePrimaryKeyConstraintCreates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object.
Public methodCreateUniqueConstraintCreates an IuniqueConstraint object that is associated with the specified IRelationalIndex object.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft