Beispiel #1
0
        public override System.Collections.IEnumerable Get(ICollectionFactory collections)
        {
            var q = from m in collections.Get <Message> ()
                    where m.ChannelName == Channel
                    orderby m.PostTime descending
                    select m;

            return(q.Take(20));
        }
Beispiel #2
0
 public override System.Collections.IEnumerable Get(ICollectionFactory collections)
 {
     return collections.Get<Channel> ();
 }
Beispiel #3
0
 public override System.Collections.IEnumerable Get(ICollectionFactory collections)
 {
     var q = from m in collections.Get<Message> ()
             where m.ChannelName == Channel
             orderby m.PostTime descending
             select m;
     return q.Take (20);
 }
Beispiel #4
0
 public override System.Collections.IEnumerable Get(ICollectionFactory collections)
 {
     return(collections.Get <Channel> ());
 }