public override void ConvertSpecific(ShareParam param, Data.Entity.Share entity)
 {
     entity.Owner       = AccountDao.Find(param.OwnerId);
     entity.Contributor = AccountDao.Find(param.ContributorId);
     entity.Status      = StatusDao.Find(param.StatusId);
     entity.Note        = NoteDao.Find(param.NoteId);
 }
示例#2
0
 public override void ConvertSpecific(NoteParam param, Data.Entity.Note entity)
 {
     entity.Account  = AccountDao.Find(param.AccountId);
     entity.Category = CategoryDao.Find(param.CategoryId);
     entity.Status   = StatusDao.Find(param.StatusId);
     entity.Type     = TypeDao.Find(param.TypeId);
 }