The base class for representing entity instances.
TEntity is a base class for representing entities and should not be used directly. For operating entities in the code, TMappedEntity and TUnmappedEntity classes that are TEntity descendants, are used. TMappedEntity holds the instance of an entity that is mapped to the particular database table. TUnmappedEntity holds the instance of an entity that is the result of a query execution and can not be mapped to the particular table.