public RequirementDocumentation MapToOrm(DalRequirementDocumentation entity)
 {
     return(new RequirementDocumentation
     {
         id = entity.Id,
         name = entity.Name,
         objectGroup = entity.ObjectGroup,
         pressmark = entity.Pressmark
     });
 }
コード例 #2
0
        public BllRequirementDocumentation MapToBll(DalRequirementDocumentation entity)
        {
            BllRequirementDocumentation bllEntity = new BllRequirementDocumentation
            {
                Id          = entity.Id,
                Name        = entity.Name,
                ObjectGroup = entity.ObjectGroup,
                Pressmark   = entity.Pressmark
            };

            return(bllEntity);
        }
コード例 #3
0
        public DalRequirementDocumentation MapToDal(BllRequirementDocumentation entity)
        {
            DalRequirementDocumentation dalEntity = new DalRequirementDocumentation
            {
                Id          = entity.Id,
                Name        = entity.Name,
                ObjectGroup = entity.ObjectGroup,
                Pressmark   = entity.Pressmark
            };

            return(dalEntity);
        }