public virtual ParameterizedQuery ParseInsertQuery(InsertQuery query) { builder = QueryService.CreateQueryBuild(); ParseInsertIntoClause(query.Into); ParseInsertColumnsClause(query.Columns); ParseInsertValues(query.Values); return(builder.BuildQuery(new DbQueryConfigures())); }
public virtual ParameterizedQuery ParseSelectQuery(SelectQuery query) { builder = QueryService.CreateQueryBuild(); ParseSelectClause(query.SelectClause); ParseFromClause(query.FromClause); ParseWhereClause(query.WhereClause); ParseOrderByClause(query.OrderByClause); return(builder.BuildQuery(new DbQueryConfigures())); }