public CommentCollection FetchByQuery(Query qry) { CommentCollection coll = new CommentCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CommentCollection FetchAll() { CommentCollection coll = new CommentCollection(); Query qry = new Query(Comment.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public CommentCollection FetchByID(object Id) { CommentCollection coll = new CommentCollection().Where("ID", Id).Load(); return(coll); }