// convinience method
        public static void Delete <TElement>(this IQueryStrategy <TElement> source, Expression <Func <TElement, bool> > filter)
        {
            // could we also just ask for a key?
            // can we ask a TElement to have a key field for us? generic field constraint?

            // X:\jsc.svn\examples\javascript\LINQ\test\auto\TestSelect\TestSelectMath\Program.cs
            source.Where(filter).Delete();
        }
 public static long Count <TElement>(this IQueryStrategy <TElement> source, Expression <Func <TElement, bool> > filter)
 {
     return(source.Where(filter).Count());
 }