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.
|
using Connected.Data;
|
|
|
|
namespace Connected.Entities;
|
|
|
|
public enum State : byte
|
|
{
|
|
Default = 0,
|
|
New = 1,
|
|
Deleted = 2
|
|
}
|
|
|
|
public interface IEntity
|
|
{
|
|
State State { get; init; }
|
|
}
|
|
|
|
public interface IEntity<T> : IEntity, IPrimaryKey<T>
|
|
where T : notnull
|
|
{
|
|
}
|