Пример #1
0
        public CommentCollection FetchByQuery(Query qry)
        {
            CommentCollection coll = new CommentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public CommentCollection FetchAll()
        {
            CommentCollection coll = new CommentCollection();
            Query             qry  = new Query(Comment.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }