Merge pull request #9281 from abpframework/maliming-patch-2

Update EntityNotFoundException.cs
pull/9282/head
liangshiwei 4 years ago committed by GitHub
commit a5fb4b3f9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,7 +49,7 @@ namespace Volo.Abp.Domain.Entities
public EntityNotFoundException(Type entityType, object id, Exception innerException) public EntityNotFoundException(Type entityType, object id, Exception innerException)
: base( : base(
id == null id == null
? $"There is no such an entity given given id. Entity type: {entityType.FullName}" ? $"There is no such an entity given id. Entity type: {entityType.FullName}"
: $"There is no such an entity. Entity type: {entityType.FullName}, id: {id}", : $"There is no such an entity. Entity type: {entityType.FullName}, id: {id}",
innerException) innerException)
{ {

Loading…
Cancel
Save