Definition at line 25 of file DropTableStatementTests.cs.
override IQuery Deveel.Data.Sql.Statements.DropTableStatementTests.CreateQuery |
( |
ISession |
session | ) |
|
|
inlineprotectedvirtual |
void Deveel.Data.Sql.Statements.DropTableStatementTests.CreateTestTables |
( |
IQuery |
context | ) |
|
|
inlineprivate |
Definition at line 32 of file DropTableStatementTests.cs.
33 var tn1 = ObjectName.Parse(
"APP.test_table1");
38 context.CreateTable(tableInfo1);
39 context.AddPrimaryKey(tn1,
"id");
41 var tn2 = ObjectName.Parse(
"APP.test_table2");
46 context.CreateTable(tableInfo2);
47 context.AddPrimaryKey(tn2,
"id");
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
Defines the metadata properties of a column within a table of a database.
static NumericType Integer()
ForeignKeyAction
Enumerates the foreign key referential trigger actions.
static DateType DateTime()
static StringType String()
Defines the metadata properties of a table existing within a database.
void Deveel.Data.Sql.Statements.DropTableStatementTests.DropAllTables |
( |
| ) |
|
|
inline |
Definition at line 66 of file DropTableStatementTests.cs.
67 const string sql =
"DROP TABLE IF EXISTS APP.test_table1, test_table2";
69 Assert.DoesNotThrow(() =>
Query.ExecuteQuery(sql));
void Deveel.Data.Sql.Statements.DropTableStatementTests.DropNonReferencedTable |
( |
| ) |
|
|
inline |
void Deveel.Data.Sql.Statements.DropTableStatementTests.DropReferencedTable |
( |
| ) |
|
|
inline |
Definition at line 59 of file DropTableStatementTests.cs.
60 const string sql =
"DROP TABLE APP.test_table1";
62 Assert.Throws<StatementException>(() =>
Query.ExecuteQuery(sql));
The documentation for this class was generated from the following file: