Exemplo n.º 1
0
        private string GetQueryStr(GroupedColumns table)
        {
            var queryBuilder    = new InsertQueryBuilder();
            var insertedColumns = GetInsertedColumns(table.Columns);

            queryBuilder.InsertIntoTable(table.Columns[0].TableName, insertedColumns, false);
            var query = queryBuilder.BuildQuery();

            return(query);
        }
Exemplo n.º 2
0
        private static void StoreExecutedTables(Dictionary <string, string> executedTables, GroupedColumns table)
        {
            var clientName = (string.IsNullOrEmpty(table.ClientName)) ? table.EntityFullName : table.ClientName;

            executedTables.Add(clientName, table.EntityFullName);
        }