Interface ISqlCheckBuilder
Represents an SQL check constraint builder.
public interface ISqlCheckBuilder : ISqlConstraintBuilder, ISqlObjectBuilder
- Inherited Members
- Extension Methods
Properties
Condition
Underlying condition of this check constraint.
SqlConditionNode Condition { get; }
Property Value
ReferencedColumns
Collection of columns referenced by this check constraint.
IReadOnlyCollection<ISqlColumnBuilder> ReferencedColumns { get; }
Property Value
Methods
SetDefaultName()
Changes the name of this object to a default name.
ISqlCheckBuilder SetDefaultName()
Returns
- ISqlCheckBuilder
this.
Remarks
See ISqlDefaultObjectNameProvider for more information.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.
SetName(string)
Changes the name of this object.
ISqlCheckBuilder SetName(string name)
Parameters
name
stringName to set.
Returns
- ISqlCheckBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.