示例#1
0
 public static SoodaObject SelectSingleObjectBE(Sooda.QL.SoqlBooleanExpression expr, ISoodaObjectList list)
 {
     if (list.Count == 0)
     {
         return(null);
     }
     if (list.Count > 1)
     {
         throw new SoodaObjectNotFoundException("Not a unique match: '" + expr + "'");
     }
     return(list.GetItem(0));
 }
示例#2
0
 protected ISoodaObjectList Filter2(Sooda.QL.SoqlBooleanExpression filterExpression)
 {
     return(_theList.Filter(filterExpression));
 }