예제 #1
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_BillOfMaterials1(BillOfMaterial entity)
		{
			this.SendPropertyChanging("BillOfMaterials1");
			entity.Product1 = null;
		}
예제 #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_BillOfMaterials(BillOfMaterial entity)
		{
			this.SendPropertyChanging("BillOfMaterials");
			entity.UnitMeasure = null;
		}
예제 #3
0
		/// <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_BillOfMaterials(BillOfMaterial entity)
		{
			this.SendPropertyChanging("BillOfMaterials");
			entity.Product = this;
		}
예제 #4
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_BillOfMaterials(BillOfMaterial entity)
 {
     this.SendPropertyChanging("BillOfMaterials");
     entity.UnitMeasure = null;
 }