Definition at line 22 of file QueryExtensions.cs.
static void Deveel.Data.Sql.Schemas.QueryExtensions.CreateSchema |
( |
this IQuery |
context, |
|
|
string |
name, |
|
|
string |
type |
|
) |
| |
|
inlinestatic |
Definition at line 23 of file QueryExtensions.cs.
24 if (!context.UserCanCreateSchema())
25 throw new InvalidOperationException();
27 context.CreateObject(
new SchemaInfo(name, type));
static ObjectName Deveel.Data.Sql.Schemas.QueryExtensions.ResolveSchemaName |
( |
this IQuery |
context, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Definition at line 34 of file QueryExtensions.cs.
35 if (
String.IsNullOrEmpty(name))
36 throw new ArgumentNullException(
"name");
38 return context.ResolveObjectName(
DbObjectType.Schema,
new ObjectName(name));
A long string in the system.
DbObjectType
The kind of objects that can be handled by a database system and its managers
static bool Deveel.Data.Sql.Schemas.QueryExtensions.SchemaExists |
( |
this IQuery |
context, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Definition at line 30 of file QueryExtensions.cs.
31 return context.ObjectExists(
DbObjectType.Schema,
new ObjectName(name));
DbObjectType
The kind of objects that can be handled by a database system and its managers
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Sql.Schemas/QueryExtensions.cs