Beispiel #1
0
        /// <summary>
        /// 将entity转换为vo。不包括来自元数据的属性
        /// </summary>
        private MetaTimeMachineVo toVo(MetaTimeMachineEntity entity)
        {
            MetaTimeMachineVo vo = new MetaTimeMachineVo();

            vo.Id              = entity.Id;
            vo.TimeMachineId   = entity.TimeMachineId;
            vo.TimeMachineName = entity.TimeMachineName;

            return(vo);
        }
Beispiel #2
0
        public MetaTimeMachineVo toMoreVo(MetaTimeMachineEntity entity)
        {
            MetaTimeMachineVo vo = toVo(entity);

            return(vo);
        }
Beispiel #3
0
        public MetaTimeMachineVo toEmptyVo()
        {
            MetaTimeMachineVo vo = new MetaTimeMachineVo();

            return(vo);
        }