Browse Source

Ignore ConcurrencyStamp.

pull/9979/head
maliming 5 years ago
committed by GitHub
parent
commit
5193a07e00
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.Blogging.Blogs;
using Volo.Blogging.Blogs.Dtos;
@ -24,7 +24,8 @@ namespace Volo.Blogging
CreateMap<PostCacheItem, PostWithDetailsDto>()
.IgnoreModificationAuditedObjectProperties()
.IgnoreDeletionAuditedObjectProperties()
.Ignore(x=>x.Writer)
.Ignore(x => x.ConcurrencyStamp)
.Ignore(x => x.Writer)
.Ignore(x => x.CommentCount)
.Ignore(x => x.Tags);
}

Loading…
Cancel
Save