- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace HealthMonitor.Util.Entities.Interfaces
- {
- public interface IEntity
- {
-
-
-
-
-
- string GetUniqueKey(string? key = null);
-
-
-
-
-
- string GetRequiredUniqueKey();
-
-
-
-
-
- string GetPrimaryKey();
-
-
-
-
-
- void AssignEntityKey(string key);
-
-
-
-
- void AssertValidate();
- }
- }
|