public static TElement Last <TKey, TElement>(this IQueryStrategyGrouping <TKey, TElement> source)
        //public static TElement Last<TElement>(this IQueryStrategy<TElement> source)
        {
            // X:\jsc.svn\examples\javascript\LINQ\test\auto\TestSelect\TestGroupBy\Program.cs

            return(default(TElement));
        }
示例#2
0
        // http://stackoverflow.com/questions/3179021/sha1-hashing-in-sqlite-how
        // while SQLite might allow iproc user funtions, appengine mysql likely will not.

        //[Obsolete("non grouping methods shall use FirstOrDefault")]

        // MYSQL and SQLITE seem to behave differently? in reverse actually!
        public static TElement Last <TKey, TElement>(this IQueryStrategyGrouping <TKey, TElement> source)
        {
            // http://stackoverflow.com/questions/5140785/mysql-order-before-group-by
            // http://www.tocker.ca/2013/10/21/heads-up-implicit-sorting-by-group-by-is-deprecated-in-mysql-5-6.html

            // reverse and take 1 ?
            // can we reverse yet? reorder by Key desc?
            // then we could also do ElementAt
            // but. would we be able to to reverse on nested orderbys?
            // would have to flip all selectors
            // in a way the group by already implements reverse ordering?

            throw new NotImplementedException();
        }
示例#3
0
        public static TElement First <TKey, TElement>(this IQueryStrategyGrouping <TKey, TElement> source)
        {
            // first to be used in groups

            throw new NotImplementedException();
        }