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) }
     });
 }
예제 #2
0
 static object EncodeQueryCondition(ILCQueryCondition cond)
 {
     return(cond.Encode());
 }