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 class IConstraintFactory

NameDescription
System_CAPS_pubmethodCreateCheckConstraint(ITabular^, String^)

Creates an IMutableCheckConstraint object that has the specified name.

System_CAPS_pubmethodCreateDefaultConstraint(IColumn^, String^)

Creates an IMutableDefaultConstraint object that has the specified name.

System_CAPS_pubmethodCreateForeignKeyColumn(IColumn^, IColumn^)

Creates an IForeignKeyColumn object that has the specified referencing and referenced IColumn objects.

System_CAPS_pubmethodCreateForeignKeyConstraint(ITable^, String^)

Creates an IMutableForeignKeyConstraint object that belongs to the specified ITable and has the specified name.

System_CAPS_pubmethodCreatePrimaryKeyConstraint(ITabular^, IRelationalIndex^)

Creates an IPrimaryKeyConstraint object that is associated with the specified IRelationalIndex object.

System_CAPS_pubmethodCreateUniqueConstraint(ITabular^, IRelationalIndex^)

Creates an T:Microsoft.SqlServer.Management.SqlParser.Metadata.IuniqueConstraint object that is associated with the specified IRelationalIndex object.

Return to top
Show: