public static dynamic GetTSObject(PlannedEndDate dynObject) { if (dynObject is null) { return(null); } return(dynObject.teklaObject); }
public override int GetHashCode() { unchecked { const int hashBase = (int)2166136261; const int multiplier = 16777619; int hash = hashBase; hash = (hash * multiplier) ^ (LearnerReferenceNumber is null ? 0 : LearnerReferenceNumber.GetHashCode()); hash = (hash * multiplier) ^ (PlannedEndDate is null ? 0 : PlannedEndDate.GetHashCode()); hash = (hash * multiplier) ^ LearningStartDate.GetHashCode(); hash = (hash * multiplier) ^ (ProviderName is null ? 0 : ProviderName.GetHashCode()); hash = (hash * multiplier) ^ ProviderUkPrn.GetHashCode(); return(hash); } }