Esempio n. 1
0
 public Attribute MapToOrm(DalAttribute entity)
 {
     return(new Attribute
     {
         id = entity.Id,
         name = entity.Name,
     });
 }
Esempio n. 2
0
        public BllAttribute MapToBll(DalAttribute entity)
        {
            BllAttribute bllEntity = new BllAttribute
            {
                Id   = entity.Id,
                Name = entity.Name,
            };

            return(bllEntity);
        }
Esempio n. 3
0
        public DalAttribute MapToDal(BllAttribute entity)
        {
            DalAttribute dalEntity = new DalAttribute
            {
                Id   = entity.Id,
                Name = entity.Name,
            };

            return(dalEntity);
        }