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

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

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

            return(coll);
        }