示例#1
0
        public LocationPropertyDataDto ToLocationPropertyDataDto(LocationPropertyData entity)
        {
            var dto = new LocationPropertyDataDto()
            {
                Key                     = entity.Key,
                LocationKey             = entity.LocationKey,
                LocationTypePropertyKey = entity.LocationTypePropertyKey,
                dataInt                 = entity.dataInt,
                dataDate                = entity.dataDate,
                dataNvarchar            = entity.dataNvarchar,
                dataNtext               = entity.dataNtext,
                UpdateDate              = entity.UpdateDate,
                CreateDate              = entity.CreateDate
            };

            return(dto);
        }
示例#2
0
        public LocationPropertyData ToLocationPropertyDataEntity(LocationPropertyDataDto dto)
        {
            var Entity = new LocationPropertyData()
            {
                Key                     = dto.Key,
                LocationKey             = dto.LocationKey,
                LocationTypePropertyKey = dto.LocationTypePropertyKey,
                dataInt                 = dto.dataInt,
                dataDate                = dto.dataDate,
                dataNvarchar            = dto.dataNvarchar,
                dataNtext               = dto.dataNtext,
                UpdateDate              = dto.UpdateDate,
                CreateDate              = dto.CreateDate
            };

            return(Entity);
        }
示例#3
0
        public LocationPropertyData ToLocationPropertyDataEntity(LocationPropertyDataDto dto)
        {
            var Entity = new LocationPropertyData()
            {
                Key = dto.Key,
                LocationKey = dto.LocationKey,
                LocationTypePropertyKey = dto.LocationTypePropertyKey,
                dataInt = dto.dataInt,
                dataDate = dto.dataDate,
                dataNvarchar = dto.dataNvarchar,
                dataNtext = dto.dataNtext,
                UpdateDate = dto.UpdateDate,
                CreateDate = dto.CreateDate
            };

            return Entity;
        }
示例#4
0
        public LocationPropertyDataDto ToLocationPropertyDataDto(LocationPropertyData entity)
        {
            var dto = new LocationPropertyDataDto()
            {
                Key = entity.Key,
                LocationKey = entity.LocationKey,
                LocationTypePropertyKey = entity.LocationTypePropertyKey,
                dataInt = entity.dataInt,
                dataDate = entity.dataDate,
                dataNvarchar = entity.dataNvarchar,
                dataNtext = entity.dataNtext,
                UpdateDate = entity.UpdateDate,
                CreateDate = entity.CreateDate
            };

            return dto;
        }