Exemplo n.º 1
0
        public TimelineInfo ToTimelineInfo()
        {
            var result = new TimelineInfo();

            Csla.Data.DataMapper.Map(this, result);

            return result;
        }
Exemplo n.º 2
0
        public TimelineInfo ToTimelineInfo()
        {
            var result = new TimelineInfo();

            Csla.Data.DataMapper.Map(this, result);

            return(result);
        }
Exemplo n.º 3
0
 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;
 }