public static dynamic GetTSObject(ActualStartDate dynObject) { if (dynObject is null) { return(null); } return(dynObject.teklaObject); }
public override int GetHashCode() { unchecked { int hash = 17; hash = hash * 23 + (ActualCost == null ? 0 : ActualCost.GetHashCode()); hash = hash * 23 + (ActualEndDate == null ? 0 : ActualEndDate.GetHashCode()); hash = hash * 23 + (ActualResourceHrs == null ? 0 : ActualResourceHrs.GetHashCode()); hash = hash * 23 + (ActualStartDate == null ? 0 : ActualStartDate.GetHashCode()); hash = hash * 23 + (LocationId == default(short) ? 0 : LocationId.GetHashCode()); hash = hash * 23 + (ModifiedDate == default(DateTime) ? 0 : ModifiedDate.GetHashCode()); hash = hash * 23 + (OperationSequence == default(short) ? 0 : OperationSequence.GetHashCode()); hash = hash * 23 + (PlannedCost == default(decimal) ? 0 : PlannedCost.GetHashCode()); hash = hash * 23 + (ProductId == default(int) ? 0 : ProductId.GetHashCode()); hash = hash * 23 + (ScheduledEndDate == default(DateTime) ? 0 : ScheduledEndDate.GetHashCode()); hash = hash * 23 + (ScheduledStartDate == default(DateTime) ? 0 : ScheduledStartDate.GetHashCode()); hash = hash * 23 + (WorkOrderId == default(int) ? 0 : WorkOrderId.GetHashCode()); return(hash); } }