Interface ISchemaTableSyntax
Queries a tables (or one of its childs) existence
Namespace: FluentMigrator.Builders.Schema.Table
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface ISchemaTableSyntax
Methods
| Edit this page View SourceColumn(string)
Specifies the column to check
Declaration
ISchemaColumnSyntax Column(string columnName)
Parameters
Type | Name | Description |
---|---|---|
string | columnName | The column name |
Returns
Type | Description |
---|---|
ISchemaColumnSyntax | The next step |
Constraint(string)
Specify the constraint to check
Declaration
ISchemaConstraintSyntax Constraint(string constraintName)
Parameters
Type | Name | Description |
---|---|---|
string | constraintName | The constraint name |
Returns
Type | Description |
---|---|
ISchemaConstraintSyntax | The next step |
Exists()
Returns true
when the table exists
Declaration
bool Exists()
Returns
Type | Description |
---|---|
bool |
|
Index(string)
Specify the index to check
Declaration
ISchemaIndexSyntax Index(string indexName)
Parameters
Type | Name | Description |
---|---|---|
string | indexName | The index name |
Returns
Type | Description |
---|---|
ISchemaIndexSyntax | The next step |