public void DeleteSocio(Socio socio) { _savingsDataContext.Socio.DeleteOnSubmit(socio); try { _savingsDataContext.SubmitChanges(); } catch (Exception e) { Console.WriteLine(e); throw; } }
partial void DeleteSocio(Socio instance);
partial void UpdateSocio(Socio instance);
partial void InsertSocio(Socio instance);
private void detach_Socio(Socio entity) { this.SendPropertyChanging(); entity.Grupo = null; }
private void attach_Socio(Socio entity) { this.SendPropertyChanging(); entity.Grupo = this; }