public Dictionary <string, object> Encode() { if (conditionList == null || conditionList.Count == 0) { return(null); } if (conditionList.Count == 1) { ILCQueryCondition cond = conditionList[0]; return(cond.Encode()); } return(new Dictionary <string, object> { { composition, LCEncoder.Encode(conditionList) } }); }
static object EncodeQueryCondition(ILCQueryCondition cond) { return(cond.Encode()); }