示例#1
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_BusinessEntityAddresses(BusinessEntityAddress entity)
		{
			this.SendPropertyChanging("BusinessEntityAddresses");
			entity.Address = this;
		}
		/// <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_BusinessEntityAddresses(BusinessEntityAddress entity)
		{
			this.SendPropertyChanging("BusinessEntityAddresses");
			entity.BusinessEntity = 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_BusinessEntityAddresses(BusinessEntityAddress entity)
 {
     this.SendPropertyChanging("BusinessEntityAddresses");
     entity.BusinessEntity = null;
 }
示例#4
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_BusinessEntityAddresses(BusinessEntityAddress entity)
 {
     this.SendPropertyChanging("BusinessEntityAddresses");
     entity.Address = this;
 }