using JNPF.Common.Contracts; namespace Tnb; [Serializable] public abstract class Entity : IEntity { protected Entity() { //EntityHelper.TrySetTenantId(this); } /// public override string ToString() { return $"[ENTITY: {GetType().Name}] Keys = {string.Join(", ", GetKeys())}"; } public abstract object[] GetKeys(); //public bool EntityEquals(IEntity other) //{ // return EntityHelper.EntityEquals(this, other); //} }