/// <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_SalesOrderDetails(SalesOrderDetail entity) { this.SendPropertyChanging("SalesOrderDetails"); entity.SpecialOfferProduct = 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_SalesOrderDetails(SalesOrderDetail entity) { this.SendPropertyChanging("SalesOrderDetails"); entity.SalesOrderHeader = null; }