public TimeEntryEntity(TimeEntry originalEntry) { OriginalEntry = originalEntry; Entry = originalEntry != null ? originalEntry.Clone() as TimeEntry : new TimeEntry(); IsNew = (originalEntry != null); }