public PnItemGastoCollection FetchByQuery(Query qry)
        {
            PnItemGastoCollection coll = new PnItemGastoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnItemGastoCollection FetchAll()
        {
            PnItemGastoCollection coll = new PnItemGastoCollection();
            Query qry = new Query(PnItemGasto.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnItemGastoCollection FetchByID(object IdItemGasto)
        {
            PnItemGastoCollection coll = new PnItemGastoCollection().Where("id_item_gasto", IdItemGasto).Load();

            return(coll);
        }