private void detach_LeadBoughts(LeadBought entity) { this.SendPropertyChanging(); entity.Buyer = null; }
private void attach_LeadBoughts(LeadBought entity) { this.SendPropertyChanging(); entity.Buyer = this; }
partial void DeleteLeadBought(LeadBought instance);
partial void UpdateLeadBought(LeadBought instance);
partial void InsertLeadBought(LeadBought instance);
public void InsertLeadBought(LeadBought leadBought) { context.LeadBoughts.InsertOnSubmit(leadBought); context.SubmitChanges(); }