21 using NUnit.Framework;
23 namespace Deveel.Data.Sql {
27 using (var session = base.CreateAdminSession(database)) {
28 using (var query = session.CreateQuery()) {
35 query.CreateTable(tableInfo);
40 return base.CreateAdminSession(database);
55 Query.InsertIntoTable(tableName, assignments);
Provides some helper functions for resolving and creating SqlType instances that are primitive to the...
static ObjectName Parse(string s)
Parses the given string into a ObjectName object.
Describes the name of an object within a database.
static SqlAssignExpression Assign(SqlExpression reference, SqlExpression valueExpression)
The representation of a single database in the system.
void AddColumn(ColumnInfo column)
Adds a new column to the table at the last position of the columns list in the table metadata...
override ISession CreateAdminSession(IDatabase database)
An isolated session to a given database for a given user, encapsulating the transaction for operation...
static NumericType TinyInt(int size)
static SqlReferenceExpression Reference(ObjectName objectName)
static StringType String()
Defines the base class for instances that represent SQL expression tree nodes.
static SqlConstantExpression Constant(object value)
Defines the metadata properties of a table existing within a database.