示例#1
0
        public HdCollection FetchByQuery(Query qry)
        {
            HdCollection coll = new HdCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public HdCollection FetchAll()
        {
            HdCollection coll = new HdCollection();
            Query        qry  = new Query(Hd.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public HdCollection FetchByID(object MaHD)
        {
            HdCollection coll = new HdCollection().Where("MaHD", MaHD).Load();

            return(coll);
        }