public void DeleteAhorro(Ahorro ahorro) { _savingsDataContext.Ahorro.DeleteOnSubmit(ahorro); try { _savingsDataContext.SubmitChanges(); } catch (Exception e) { Console.WriteLine(e); throw; } }
private void detach_Ahorro(Ahorro entity) { this.SendPropertyChanging(); entity.Socio = null; }
private void attach_Ahorro(Ahorro entity) { this.SendPropertyChanging(); entity.Socio = this; }
partial void DeleteAhorro(Ahorro instance);
partial void UpdateAhorro(Ahorro instance);
partial void InsertAhorro(Ahorro instance);