//note dao missing ?

        public override Data.Entity.Share ConvertSpecific(ShareParam param, Data.Entity.Share entity)
        {
            entity.Owner       = accountDao.Find(param.OwnerId);
            entity.Contributor = accountDao.Find(param.ContributorId);
            entity.Status      = shareStatusDao.Find(param.StatusId);

            return(entity);
        }
示例#2
0
 public ShareStatusResult Find(long id)
 {
     Data.Entity.ShareStatus entity = Dao.Find(id);
     return(ResultConverter.Convert(entity));
 }