Exemplo n.º 1
0
        public CommentCollection FetchByQuery(Query qry)
        {
            CommentCollection coll = new CommentCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public CommentCollection FetchAll()
        {
            CommentCollection coll = new CommentCollection();
            Query             qry  = new Query(Comment.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public CommentCollection FetchByID(object Id)
        {
            CommentCollection coll = new CommentCollection().Where("ID", Id).Load();

            return(coll);
        }