public void Insert(string Nombre, int Valor) { EmrGlasgowMotor item = new EmrGlasgowMotor(); item.Nombre = Nombre; item.Valor = Valor; item.Save(UserName); }
public void Update(int IdGlasgowMotor, string Nombre, int Valor) { EmrGlasgowMotor item = new EmrGlasgowMotor(); item.MarkOld(); item.IsLoaded = true; item.IdGlasgowMotor = IdGlasgowMotor; item.Nombre = Nombre; item.Valor = Valor; item.Save(UserName); }
public bool Destroy(object IdGlasgowMotor) { return(EmrGlasgowMotor.Destroy(IdGlasgowMotor) == 1); }
public bool Delete(object IdGlasgowMotor) { return(EmrGlasgowMotor.Delete(IdGlasgowMotor) == 1); }