private void detach_DETALLE_HISTORIAL(DETALLE_HISTORIAL entity)
 {
     this.SendPropertyChanging();
     entity.HISTORIAL = null;
 }
 private void attach_DETALLE_HISTORIAL(DETALLE_HISTORIAL entity)
 {
     this.SendPropertyChanging();
     entity.TRATAMIENTO = this;
 }
 partial void UpdateDETALLE_HISTORIAL(DETALLE_HISTORIAL instance);
 partial void DeleteDETALLE_HISTORIAL(DETALLE_HISTORIAL instance);
 partial void InsertDETALLE_HISTORIAL(DETALLE_HISTORIAL instance);