Метод | Описание | |
---|---|---|
GenerateSchema ( ISource DesiredStructure, ISourceInfo Source ) : IEnumerable |
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.
|
|
GetSourceStructure ( ISourceInfo Source ) : ISource |
Gets the structure of a source
|
|
LDAPSchemaGenerator ( QueryProvider Provider, SourceProvider SourceProvider ) : System.Collections.Generic |
Constructor
|
|
Setup ( IMapping>.ListMapping |
Sets up the specified database schema
|
|
SourceExists ( string Source, ISourceInfo Info ) : bool |
Checks if a source exists
|
|
StoredProcedureExists ( string StoredProcedure, ISourceInfo Source ) : bool |
Checks if a stored procedure exists
|
|
TableExists ( string Table, ISourceInfo Source ) : bool |
Checks if a table exists
|
|
TriggerExists ( string Trigger, ISourceInfo Source ) : bool |
Checks if a trigger exists
|
|
ViewExists ( string View, ISourceInfo Source ) : bool |
Checks if a view exists
|
public GenerateSchema ( ISource DesiredStructure, ISourceInfo Source ) : IEnumerable |
||
DesiredStructure | ISource | Desired source structure |
Source | ISourceInfo | Source to use |
Результат | IEnumerable |
public GetSourceStructure ( ISourceInfo Source ) : ISource | ||
Source | ISourceInfo | Source to use |
Результат | ISource |
public LDAPSchemaGenerator ( QueryProvider Provider, SourceProvider SourceProvider ) : System.Collections.Generic | ||
Provider | QueryProvider | |
SourceProvider | SourceProvider | |
Результат | System.Collections.Generic |
public Setup ( IMapping>.ListMapping |
||
Mappings | IMapping>.ListMapping | The mappings. |
Database | IDatabase | The database. |
QueryProvider | QueryProvider | The query provider. |
Structure | Graph |
The structure. |
Результат | void |
public SourceExists ( string Source, ISourceInfo Info ) : bool | ||
Source | string | Source to check |
Info | ISourceInfo | Source info to use |
Результат | bool |
public StoredProcedureExists ( string StoredProcedure, ISourceInfo Source ) : bool | ||
StoredProcedure | string | Stored procedure to check |
Source | ISourceInfo | Source to use |
Результат | bool |
public TableExists ( string Table, ISourceInfo Source ) : bool | ||
Table | string | Table to check |
Source | ISourceInfo | Source to use |
Результат | bool |
public TriggerExists ( string Trigger, ISourceInfo Source ) : bool | ||
Trigger | string | Trigger to check |
Source | ISourceInfo | Source to use |
Результат | bool |
public ViewExists ( string View, ISourceInfo Source ) : bool | ||
View | string | View to check |
Source | ISourceInfo | Source to use |
Результат | bool |