public override void MapFrom(Snapshot model, IServiceProvider services) { base.MapFrom(model, services); CreatedTime = model.CreatedTime; Source = model.Source; Event = model.Event; RollbackId = model.RollbackId; CommitterId = model.CommitterId; Target = model.Target; TargetId = model.TargetId; Reason = model.Reason; }
public override void MapTo(Snapshot model, IServiceProvider services) { base.MapTo(model, services); model.CreatedTime = CreatedTime; model.Source = Source; model.Event = Event; model.RollbackId = RollbackId; model.CommitterId = CommitterId; model.Target = Target; model.TargetId = TargetId; model.Reason = Reason; }