thondchen / Bom

0 stars 0 forks source link

POCO #54

Open thondchen opened 7 years ago

thondchen commented 7 years ago

http://stackoverflow.com/questions/22845989/difference-between-entity-and-poco

regular object no references to any specific framework does not follow their interfaces or restrictions persistence ignorant objects

Entities represent domain model and domain logic. Usually they are designed as persistence ignorant POCO objects. But not every POCO object is an Entity. Value Objects are also designed as POCO objects and they are not Entities