Browse Source

Merge pull request #9979 from abpframework/maliming-patch-3

Ignore ConcurrencyStamp.
pull/9994/head
liangshiwei 5 years ago
committed by GitHub
parent
commit
cc386ae47a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/BloggingApplicationAutoMapperProfile.cs

5
modules/blogging/src/Volo.Blogging.Application/Volo/Blogging/BloggingApplicationAutoMapperProfile.cs

@ -1,4 +1,4 @@
using AutoMapper; using AutoMapper;
using Volo.Abp.AutoMapper; using Volo.Abp.AutoMapper;
using Volo.Blogging.Blogs; using Volo.Blogging.Blogs;
using Volo.Blogging.Blogs.Dtos; using Volo.Blogging.Blogs.Dtos;
@ -24,7 +24,8 @@ namespace Volo.Blogging
CreateMap<PostCacheItem, PostWithDetailsDto>() CreateMap<PostCacheItem, PostWithDetailsDto>()
.IgnoreModificationAuditedObjectProperties() .IgnoreModificationAuditedObjectProperties()
.IgnoreDeletionAuditedObjectProperties() .IgnoreDeletionAuditedObjectProperties()
.Ignore(x=>x.Writer) .Ignore(x => x.ConcurrencyStamp)
.Ignore(x => x.Writer)
.Ignore(x => x.CommentCount) .Ignore(x => x.CommentCount)
.Ignore(x => x.Tags); .Ignore(x => x.Tags);
} }

Loading…
Cancel
Save