Craig's Utility Library
4.0 Beta
|
Public Member Functions | |
LDAPSchemaGenerator (QueryProvider.Manager Provider, SourceProvider.Manager SourceProvider) | |
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... | |
ISource | GetSourceStructure (ISourceInfo Source) |
Gets the structure of a source More... | |
void | Setup (ListMapping< IDatabase, IMapping > Mappings, IDatabase Database, QueryProvider.Manager QueryProvider, Graph< IMapping > Structure) |
Sets up the specified database schema More... | |
bool | SourceExists (string Source, ISourceInfo Info) |
Checks if a source exists More... | |
bool | StoredProcedureExists (string StoredProcedure, ISourceInfo Source) |
Checks if a stored procedure exists More... | |
bool | TableExists (string Table, ISourceInfo Source) |
Checks if a table exists More... | |
bool | TriggerExists (string Trigger, ISourceInfo Source) |
Checks if a trigger exists More... | |
bool | ViewExists (string View, ISourceInfo Source) |
Checks if a view exists More... | |
Properties | |
string | ProviderName [get] |
Provider name associated with the schema generator More... | |
QueryProvider.Manager | Provider [get] |
Query provider object More... | |
SourceProvider.Manager | SourceProvider [get] |
Source provider object More... | |
Properties inherited from Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator | |
string | ProviderName [get] |
Provider name associated with the schema generator More... | |
LDAP schema generator
Definition at line 34 of file LDAPSchema.cs.
Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.LDAPSchemaGenerator | ( | QueryProvider.Manager | Provider, |
SourceProvider.Manager | SourceProvider | ||
) |
Constructor
Definition at line 39 of file LDAPSchema.cs.
IEnumerable<string> Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.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 |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 68 of file LDAPSchema.cs.
ISource Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.GetSourceStructure | ( | ISourceInfo | Source | ) |
Gets the structure of a source
Source | Source to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 78 of file LDAPSchema.cs.
void Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.Setup | ( | ListMapping< IDatabase, IMapping > | Mappings, |
IDatabase | Database, | ||
QueryProvider.Manager | QueryProvider, | ||
Graph< IMapping > | Structure | ||
) |
Sets up the specified database schema
Mappings | The mappings. |
Database | The database. |
QueryProvider | The query provider. |
Structure | The structure. |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 90 of file LDAPSchema.cs.
bool Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.SourceExists | ( | string | Source, |
ISourceInfo | Info | ||
) |
Checks if a source exists
Source | Source to check |
Info | Source info to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 100 of file LDAPSchema.cs.
bool Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.StoredProcedureExists | ( | string | StoredProcedure, |
ISourceInfo | Source | ||
) |
Checks if a stored procedure exists
StoredProcedure | Stored procedure to check |
Source | Source to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 111 of file LDAPSchema.cs.
bool Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.TableExists | ( | string | Table, |
ISourceInfo | Source | ||
) |
Checks if a table exists
Table | Table to check |
Source | Source to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 122 of file LDAPSchema.cs.
bool Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.TriggerExists | ( | string | Trigger, |
ISourceInfo | Source | ||
) |
Checks if a trigger exists
Trigger | Trigger to check |
Source | Source to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 133 of file LDAPSchema.cs.
bool Utilities.ORM.Manager.Schema.Default.LDAP.LDAPSchemaGenerator.ViewExists | ( | string | View, |
ISourceInfo | Source | ||
) |
Checks if a view exists
View | View to check |
Source | Source to use |
Implements Utilities.ORM.Manager.Schema.Interfaces.ISchemaGenerator.
Definition at line 144 of file LDAPSchema.cs.
|
getprotected |
Query provider object
Definition at line 53 of file LDAPSchema.cs.
|
get |
Provider name associated with the schema generator
Definition at line 48 of file LDAPSchema.cs.
|
getprotected |
Source provider object
Definition at line 58 of file LDAPSchema.cs.