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