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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public AutHistoricoVehiculoPmpCollection FetchByID(object IdHistoricoVehiculoPMP)
        {
            AutHistoricoVehiculoPmpCollection coll = new AutHistoricoVehiculoPmpCollection().Where("idHistoricoVehiculoPMP", IdHistoricoVehiculoPMP).Load();

            return(coll);
        }