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; } ; }); }
private static void BuildSelect(QueryPart part, BuildContext buildContext, BuildArgs buildArgs, StringBuilder sql) { part.Select.BuildNode(part, buildContext, buildArgs, sql); }
private static void BuildDelete(QueryPart part, BuildContext buildContext, BuildArgs buildArgs, StringBuilder sql) { part.Delete.BuildNode(part, buildContext, buildArgs, sql); }