SqlScripter.Core/src/ScripterProject/ScripterBase.cs
/// <summary>
/// Returns tables in dependecies ordered collection.
/// </summary>
/// <param name="file"></param>
/// <param name="group"></param>
/// <returns></returns>
Returns tables in dependecies ordered collection.
Returns tables in dependecies ordered collection .
protected static IList GetTables(ScriptFile file, SelectionGroup group, IDatabase database) {
            IList tables = group.RemoveIgnored(database.Tables);
            tables = file.RemoveIgnored(tables);
            tables = database.SortTables(tables); 
            tables = group.RemoveIgnored(tables);
            tables = file.RemoveIgnored(tables);
            return tables;
        }
protected static IList GetTables ( ScriptFile file , SelectionGroup group , IDatabase database ) { IList tables = group . RemoveIgnored ( database . Tables ) ; tables = file . RemoveIgnored ( tables ) ; tables = database . SortTables ( tables ) ; tables = group . RemoveIgnored ( tables ) ; tables = file . RemoveIgnored ( tables ) ; return tables ; }
Returns tables in dependecies ordered collection.
Returns tables in dependecies ordered collection .
// Dependencies will be inserted, assuming that user is knows what // she's doing by ignoring parent objects
None
file
ScriptFile
None
group
SelectionGroup
None
database
IDatabase