/// <summary>Attaches this instance to the entity specified as an associated entity</summary>
		/// <param name="entity">The related entity to attach to</param>
		private void Attach_PurchaseOrderDetails(PurchaseOrderDetail entity)
		{
			this.SendPropertyChanging("PurchaseOrderDetails");
			entity.PurchaseOrderHeader = this;
		}
Esempio n. 2
0
		/// <summary>Detaches this instance from the entity specified so it's no longer an associated entity</summary>
		/// <param name="entity">The related entity to detach from</param>
		private void Detach_PurchaseOrderDetails(PurchaseOrderDetail entity)
		{
			this.SendPropertyChanging("PurchaseOrderDetails");
			entity.Product = null;
		}
 /// <summary>Detaches this instance from the entity specified so it's no longer an associated entity</summary>
 /// <param name="entity">The related entity to detach from</param>
 private void Detach_PurchaseOrderDetails(PurchaseOrderDetail entity)
 {
     this.SendPropertyChanging("PurchaseOrderDetails");
     entity.PurchaseOrderHeader = null;
 }