/// <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_Products(Product entity) { this.SendPropertyChanging("Products"); entity.ProductModel = null; }
/// <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_Products(Product entity) { this.SendPropertyChanging("Products"); entity.UnitMeasure = this; }
/// <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_Products(Product entity) { this.SendPropertyChanging("Products"); entity.ProductSubcategory = 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_Products1(Product entity) { this.SendPropertyChanging("Products1"); entity.UnitMeasure1 = null; }