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

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

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

            return(coll);
        }