public void Insert(int IdVehiculo, int IdPMP)
        {
            AutVehiculoPmp item = new AutVehiculoPmp();

            item.IdVehiculo = IdVehiculo;

            item.IdPMP = IdPMP;


            item.Save(UserName);
        }
        public void Update(int IdVehiculoPMP, int IdVehiculo, int IdPMP)
        {
            AutVehiculoPmp item = new AutVehiculoPmp();

            item.MarkOld();
            item.IsLoaded = true;

            item.IdVehiculoPMP = IdVehiculoPMP;

            item.IdVehiculo = IdVehiculo;

            item.IdPMP = IdPMP;

            item.Save(UserName);
        }
 public bool Destroy(object IdVehiculoPMP)
 {
     return(AutVehiculoPmp.Destroy(IdVehiculoPMP) == 1);
 }
 public bool Delete(object IdVehiculoPMP)
 {
     return(AutVehiculoPmp.Delete(IdVehiculoPMP) == 1);
 }