public virtual int _GetUniqueIdentifier() { var hashCode = 399326290; hashCode = hashCode * -1521134295 + (Id?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DriverSalary?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DriverWorkHours?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DriverServiceHours?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (VehiculeHoursPerDay?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (VehiculeDaysPerYear?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (RoadTax?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (VehiculeInsurance?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (GoodsInssurance?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Maintainance?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (DaysOfReplacementVehicules?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (CostOfReplacement?.GetHashCode() ?? 0); hashCode = hashCode * -1521134295 + (Cost?.GetHashCode() ?? 0); return(hashCode); }