public ChatCollection FetchByQuery(Query qry) { ChatCollection coll = new ChatCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ChatCollection FetchAll() { ChatCollection coll = new ChatCollection(); Query qry = new Query(Chat.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ChatCollection FetchByID(object ChatID) { ChatCollection coll = new ChatCollection().Where("ChatID", ChatID).Load(); return(coll); }