Exemplo n.º 1
0
 public void CreateInvoice(Invoice invoice)
 {
     DataContext.Invoices.InsertOnSubmit(invoice);
     DataContext.SubmitChanges();
 }
 partial void DeleteInvoice(Invoice instance);
 partial void UpdateInvoice(Invoice instance);
 partial void InsertInvoice(Invoice instance);
		private void detach_Invoices(Invoice entity)
		{
			this.SendPropertyChanging();
			entity.Deal = null;
		}
		private void attach_Invoices(Invoice entity)
		{
			this.SendPropertyChanging();
			entity.Deal = this;
		}