Craig's Utility Library
4.0 Beta
|
Public Member Functions | |
Manager (IEnumerable< ISchemaGenerator > SchemaGenerators) | |
Constructor More... | |
IEnumerable< string > | GenerateSchema (ISource DesiredStructure, ISourceInfo Source) |
Generates a list of commands used to modify the source. If it does not exist prior, the commands will create the source from scratch. Otherwise the commands will only add new fields, tables, etc. It does not delete old fields. More... | |
void | Setup (ListMapping< IDatabase, IMapping > Mappings, QueryProvider.Manager QueryProvider, IDatabase Database, ISourceInfo Source, Graph< IMapping > Structure) |
Sets up the specified databases More... | |
override string | ToString () |
Outputs the schema generator information as a string More... | |
Properties | |
IDictionary< string, ISchemaGenerator > | SchemaGenerators [get] |
Schema generators More... | |
Schema manager
Definition at line 37 of file Manager.cs.
Utilities.ORM.Manager.Schema.Manager.Manager | ( | IEnumerable< ISchemaGenerator > | SchemaGenerators | ) |
Constructor
SchemaGenerators | The schema generators. |
Definition at line 43 of file Manager.cs.
IEnumerable<string> Utilities.ORM.Manager.Schema.Manager.GenerateSchema | ( | ISource | DesiredStructure, |
ISourceInfo | Source | ||
) |
Generates a list of commands used to modify the source. If it does not exist prior, the commands will create the source from scratch. Otherwise the commands will only add new fields, tables, etc. It does not delete old fields.
DesiredStructure | Desired source structure |
Source | Source to use |
Definition at line 62 of file Manager.cs.
void Utilities.ORM.Manager.Schema.Manager.Setup | ( | ListMapping< IDatabase, IMapping > | Mappings, |
QueryProvider.Manager | QueryProvider, | ||
IDatabase | Database, | ||
ISourceInfo | Source, | ||
Graph< IMapping > | Structure | ||
) |
Sets up the specified databases
Mappings | The mappings. |
QueryProvider | The query provider. |
Database | The database. |
Source | The source. |
Structure | The structure. |
Definition at line 78 of file Manager.cs.
override string Utilities.ORM.Manager.Schema.Manager.ToString | ( | ) |
Outputs the schema generator information as a string
Definition at line 88 of file Manager.cs.
|
getprotected |
Schema generators
Definition at line 52 of file Manager.cs.