Exemplo n.º 1
0
        private static void BuildFrom(QueryPart part, BuildContext buildContext, BuildArgs buildArgs, StringBuilder sql)
        {
            // tables
            part.Tables.ForEach(table =>
            {
                table.BuildNode(part, buildContext, buildArgs, sql);
                var next = table.Next;

                if (next is AliasAs)
                {
                    next = next.Next;
                }

                while (next is IJoinCond)
                {
                    next.BuildNode(part, buildContext, buildArgs, sql);
                    next = next.Next;
                }
                ;
            });
        }
Exemplo n.º 2
0
 private static void BuildSelect(QueryPart part, BuildContext buildContext, BuildArgs buildArgs, StringBuilder sql)
 {
     part.Select.BuildNode(part, buildContext, buildArgs, sql);
 }
Exemplo n.º 3
0
 private static void BuildDelete(QueryPart part, BuildContext buildContext, BuildArgs buildArgs, StringBuilder sql)
 {
     part.Delete.BuildNode(part, buildContext, buildArgs, sql);
 }