Interface ISqlConstraintBuilder
Represents an SQL constraint builder attached to a table.
public interface ISqlConstraintBuilder : ISqlObjectBuilder
- Inherited Members
Properties
Table
Table that this constraint is attached to.
ISqlTableBuilder Table { get; }
Property Value
Methods
SetDefaultName()
Changes the name of this object to a default name.
ISqlConstraintBuilder SetDefaultName()
Returns
- ISqlConstraintBuilder
this.
Remarks
See ISqlDefaultObjectNameProvider for more information.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.
SetName(string)
Changes the name of this object.
ISqlConstraintBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- ISqlConstraintBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.