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)); }
public override System.Collections.IEnumerable Get(ICollectionFactory collections) { return collections.Get<Channel> (); }
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); }
public override System.Collections.IEnumerable Get(ICollectionFactory collections) { return(collections.Get <Channel> ()); }