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

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

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

            return(coll);
        }