Class SqliteCheckBuilder
Represents an SQL check constraint builder.
public sealed class SqliteCheckBuilder : SqlCheckBuilder, ISqlCheckBuilder, ISqlConstraintBuilder, ISqlObjectBuilder
- Inheritance
-
SqliteCheckBuilder
- Implements
- Inherited Members
- Extension Methods
Remarks
SqliteDialect implementation.
Properties
Database
Database that this object belongs to.
public SqliteDatabaseBuilder Database { get; }
Property Value
ReferencedColumns
Collection of columns referenced by this check constraint.
public SqlObjectBuilderArray<SqliteColumnBuilder> ReferencedColumns { get; }
Property Value
Table
Table that this constraint is attached to.
public SqliteTableBuilder Table { get; }
Property Value
Methods
SetDefaultName()
Changes the name of this object to a default name.
public SqliteCheckBuilder SetDefaultName()
Returns
- SqliteCheckBuilder
this.
Remarks
See ISqlDefaultObjectNameProvider for more information.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.
SetName(string)
Changes the name of this object.
public SqliteCheckBuilder SetName(string name)
Parameters
namestringName to set.
Returns
- SqliteCheckBuilder
this.
Exceptions
- SqlObjectBuilderException
When name cannot be changed.
ToString()
Returns a string representation of this SqliteCheckBuilder instance.
[Pure]
public override string ToString()
Returns
- string
String representation.