コード例 #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);
        }
コード例 #3
0
        public CommentCollection FetchByID(object Id)
        {
            CommentCollection coll = new CommentCollection().Where("ID", Id).Load();

            return(coll);
        }