Definition at line 6 of file QueryContext.Schemas.cs.
static void Deveel.Data.Sql.Schemas.QueryContext.CreateSchema |
( |
this IQueryContext |
context, |
|
|
string |
name, |
|
|
string |
type |
|
) |
| |
|
inlinestatic |
Definition at line 7 of file QueryContext.Schemas.cs.
8 if (!context.UserCanCreateSchema())
9 throw new InvalidOperationException();
11 context.CreateObject(
new SchemaInfo(name, type));
static ObjectName Deveel.Data.Sql.Schemas.QueryContext.ResolveSchemaName |
( |
this IQueryContext |
context, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Definition at line 18 of file QueryContext.Schemas.cs.
19 if (
String.IsNullOrEmpty(name))
20 throw new ArgumentNullException(
"name");
22 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.QueryContext.SchemaExists |
( |
this IQueryContext |
context, |
|
|
string |
name |
|
) |
| |
|
inlinestatic |
Definition at line 14 of file QueryContext.Schemas.cs.
15 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: