mirror of https://github.com/abpframework/abp.git
1 changed files with 17 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using Volo.Abp.Domain.Entities; |
||||
|
|
||||
|
namespace Volo.Abp.Data |
||||
|
{ |
||||
|
public static class ConcurrencyStampExtensions |
||||
|
{ |
||||
|
public static void SetConcurrencyStamp(this IHasConcurrencyStamp entity, string concurrencyStamp) |
||||
|
{ |
||||
|
if (!concurrencyStamp.IsNullOrEmpty()) |
||||
|
{ |
||||
|
entity.ConcurrencyStamp = concurrencyStamp; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue