public TimelineInfo ToTimelineInfo() { var result = new TimelineInfo(); Csla.Data.DataMapper.Map(this, result); return result; }
public TimelineInfo ToTimelineInfo() { var result = new TimelineInfo(); Csla.Data.DataMapper.Map(this, result); return(result); }
public TimelineData(TimelineInfo timeline) : this() { this.TimelineId = timeline.TimelineId; this.Body = timeline.Body; this.IsArchived = timeline.IsArchived; this.CreatedBy = new UserData(timeline.CreatedBy, timeline.CreatedByName, timeline.CreatedByEmail); this.CreatedDate = timeline.CreatedDate; this.ModifiedBy = new UserData(timeline.ModifiedBy, string.Empty, string.Empty); this.ModifiedDate = timeline.ModifiedDate; }