public LeisureActivityEntity ToEntity(LeisureActivity domain)
        {
            LeisureActivityEntity entity = new LeisureActivityEntity {
            };

            _itemMapper.ToEntity(domain, entity);

            return(entity);
        }
示例#2
0
        public PrincipleEntity ToEntity(Principle domain)
        {
            PrincipleEntity entity = new PrincipleEntity {
            };

            _itemMapper.ToEntity(domain, entity);

            return(entity);
        }
示例#3
0
        public void ToEntity(ITask domain, ITaskEntity entity)
        {
            _itemMapper.ToEntity(domain, entity);

            entity.RelativeSize = domain.RelativeSize;
        }