/// <summary>
///     Returns true if self and the provided entity have the same Id values
///     and the Ids are not of the default Id value
/// </summary>
        protected bool HasSameNonDefaultIdAs(InventoryDaysKPI compareTo)
        {
            return(!this.IsTransient() && !compareTo.IsTransient() && this.InventoryDaysKPIKey.Equals(compareTo.InventoryDaysKPIKey));
        }