예제 #1
0
        public TDmucKhoCollection FetchByQuery(Query qry)
        {
            TDmucKhoCollection coll = new TDmucKhoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TDmucKhoCollection FetchAll()
        {
            TDmucKhoCollection coll = new TDmucKhoCollection();
            Query qry = new Query(TDmucKho.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TDmucKhoCollection FetchByID(object IdKho)
        {
            TDmucKhoCollection coll = new TDmucKhoCollection().Where("id_kho", IdKho).Load();

            return(coll);
        }