namespace Abp.Domain.Entities
{
///
/// Defines interface for base entity type. All entities in the system must implement this interface.
///
/// Type of the primary key of the entity
public interface IEntity
{
///
/// Unique identifier for this entity.
///
TPrimaryKey Id { get; set; }
///
/// Checks if this entity is transient (not persisted to database and it has not an ).
///
/// True, if this entity is transient
bool IsTransient();
}
}