private void detach_Members(Member entity) { this.SendPropertyChanging(); entity.State = null; }
public void Delete(Member member) { _db.Members.DeleteOnSubmit(member); _db.SubmitChanges(); }
private void attach_Members(Member entity) { this.SendPropertyChanging(); entity.State = this; }
public void Add(Member member) { _db.Members.InsertOnSubmit(member); _db.SubmitChanges(); }