You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Framework/Connected.Entities/Consistency/ConsistentEntity.cs

13 lines
333 B

2 years ago
using Connected.Annotations;
using Connected.Entities.Annotations;
using System.Text.Json.Serialization;
namespace Connected.Entities.Consistency;
public abstract record ConsistentEntity<TPrimaryKey> : Entity<TPrimaryKey>
where TPrimaryKey : notnull
{
[Ordinal(10000), ETag, JsonIgnore]
public string? ETag { get; init; }
}