partial void UpdateOrderLine(OrderLine instance);
 partial void DeleteOrderLine(OrderLine instance);
 partial void InsertOrderLine(OrderLine instance);
		private void detach_OrderLines(OrderLine entity)
		{
			this.SendPropertyChanging();
			entity.Order = null;
		}
		private void attach_OrderLines(OrderLine entity)
		{
			this.SendPropertyChanging();
			entity.Order = this;
		}
Example #6
0
 public void Delete(OrderLine line)
 {
     _db.OrderLines.DeleteOnSubmit(line);
 }
Example #7
0
 public void Add(OrderLine line)
 {
     _db.OrderLines.InsertOnSubmit(line);
 }