/// <summary> /// Constructor /// </summary> public Joinable(iQueryBuilder pQuery) : base(pQuery) { Where = new Conditions(pQuery); Type = eJOIN.LEFT; JoinTables = new List<JoinTable>(); }
/// <summary> /// Constructor /// </summary> public QueryBuilder(eTYPE pType, Model pModel) { _where = new Conditions(this); _type = pType; _model = pModel; Joins = new Joinable(this); _parameters = new Parameters(this, pModel); _variables = new Parameters(this, pModel); _fields = new Fields(this); _duplicate = new Fields(this); _groups = new Fields(this); Order = new List<KeyValuePair<eDIR, string>>(); Limit = 0; Offset = 0; Locked = false; }