DeveelDB
20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
|
Describes the properties of a schema in a database system. More...
Public Member Functions | |
SchemaInfo (string name, string type) | |
Constructs the schema with the given name More... | |
int | Compare (string s1, string s2) |
Compares two strngs given using the culture set in the schema. More... | |
int | Compare (string s1, string s2, bool ignoreCase) |
Compares two strngs given using the culture set in the schema. More... | |
Properties | |
DbObjectType IObjectInfo. | ObjectType [get] |
ObjectName IObjectInfo. | FullName [get] |
string | Name [get, private set] |
Gets the name of the schema. More... | |
string | Type [get, private set] |
Gets the type of the schema that defines the kind of objects it can contains. More... | |
string | Culture [get, set] |
Gets the culture that will be applied to string comparisons, when not explicitly defined by types. More... | |
Properties inherited from Deveel.Data.Sql.IObjectInfo | |
DbObjectType | ObjectType [get] |
ObjectName | FullName [get] |
Private Attributes | |
CompareInfo | comparer |
Describes the properties of a schema in a database system.
A schema is a collection of database objects (for example TABLE
, VIEW
, TYPE
, TRIEGGER
, etc.).
It is possible for a schema to specify additional metadata information, such as the culture that will be used by default to collate strings in comparisons.
It is not possible to define more than one schema with the same name in a database.
Definition at line 39 of file SchemaInfo.cs.
|
inline |
Constructs the schema with the given name
name | The name that identifies the schema. |
type | The type of the schema to create. |
Definition at line 47 of file SchemaInfo.cs.
|
inline |
Compares two strngs given using the culture set in the schema.
s1 | The first string to compare. |
s2 | The second argument of the comparison. |
Definition at line 92 of file SchemaInfo.cs.
|
inline |
Compares two strngs given using the culture set in the schema.
s1 | The first string to compare. |
s2 | The second argument of the comparison. |
ignoreCase | Indicates whether to ignore the case of strings or not. |
If the Culture metadata was not set in the schema, the two strings will be compared using the invariant culture.
Definition at line 111 of file SchemaInfo.cs.
|
private |
Definition at line 40 of file SchemaInfo.cs.
|
getset |
Gets the culture that will be applied to string comparisons, when not explicitly defined by types.
Definition at line 79 of file SchemaInfo.cs.
|
getprivate |
Definition at line 60 of file SchemaInfo.cs.
|
getprivate set |
Gets the name of the schema.
Definition at line 67 of file SchemaInfo.cs.
|
getprivate |
Definition at line 55 of file SchemaInfo.cs.
|
getprivate set |
Gets the type of the schema that defines the kind of objects it can contains.
Definition at line 73 of file SchemaInfo.cs.