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.Service.../Connected.ServiceModel/Data/TableEntity.cs

13 lines
389 B

using Connected.Annotations;
using Connected.Entities.Consistency;
namespace Connected.ServiceModel.Data;
public abstract record TableEntity<TPrimaryKey, TPartitionKey> : ConsistentEntity<TPrimaryKey>, ITableEntity<TPrimaryKey, TPartitionKey>
where TPrimaryKey : notnull
where TPartitionKey : notnull
{
[Ordinal(-1)]
public TPartitionKey PartitionKey { get; init; } = default!;
}