/src/ClusterConcept.EntityServer/Infrastructure/Interface/IEntityStore.cs
C# | 13 lines | 12 code | 1 blank | 0 comment | 0 complexity | f36e92ed79b6646a8768f0467dada85e MD5 | raw file
1using ClusterConcept.Shared.Model;
2using ClusterConcept.Shared.Model.ComEntity;
3using ClusterConcept.Shared.Model.ComEntity.Type;
4using JetBrains.Annotations;
5
6namespace ClusterConcept.EntityServer.Infrastructure.Interface {
7 public interface IEntityStore {
8 [NotNull]
9 PBasicEntity Get([NotNull] PEntityType type, long id);
10 void Delete([NotNull] PEntityType type);
11 void Delete([NotNull] PEntityType type, long id);
12 }
13}