Пример #1
0
        public PnCalculaPrecioCollection FetchByQuery(Query qry)
        {
            PnCalculaPrecioCollection coll = new PnCalculaPrecioCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public PnCalculaPrecioCollection FetchAll()
        {
            PnCalculaPrecioCollection coll = new PnCalculaPrecioCollection();
            Query qry = new Query(PnCalculaPrecio.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public PnCalculaPrecioCollection FetchByID(object IdCalculaPrecio)
        {
            PnCalculaPrecioCollection coll = new PnCalculaPrecioCollection().Where("id_calcula_precio", IdCalculaPrecio).Load();

            return(coll);
        }