Exemplo n.º 1
0
 public ForumMigration(
     SourceDbContext sourceDbContext, TargetDbContext targetDbContext,
     ForumKeyMapper forumKeyMapper,
     TopicKeyMapper topicKeyMapper,
     UserKeyMapper userKeyMapper)
     : base(sourceDbContext, targetDbContext)
 {
     _forumKeyMapper = forumKeyMapper;
     _topicKeyMapper = topicKeyMapper;
     _userKeyMapper  = userKeyMapper;
 }
 public PostMigration(
     SourceDbContext sourceDbContext, TargetDbContext targetDbContext,
     TopicKeyMapper topicKeyMapper,
     UserKeyMapper userKeyMapper,
     PostKeyMapper postKeyMapper)
     : base(sourceDbContext, targetDbContext)
 {
     _topicKeyMapper = topicKeyMapper;
     _userKeyMapper  = userKeyMapper;
     _postKeyMapper  = postKeyMapper;
 }