Beispiel #1
0
        public ChatCollection FetchByQuery(Query qry)
        {
            ChatCollection coll = new ChatCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public ChatCollection FetchAll()
        {
            ChatCollection coll = new ChatCollection();
            Query          qry  = new Query(Chat.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public ChatCollection FetchByID(object ChatID)
        {
            ChatCollection coll = new ChatCollection().Where("ChatID", ChatID).Load();

            return(coll);
        }