difference IEntity vs IEntity2???

Posts   
 
    
kakaiya
User
Posts: 182
Joined: 20-Mar-2004
# Posted on: 18-Aug-2005 08:12:26   

IN SD.LLBLGen.Pro.ORMSupportClasses:

What is the difference between below....???

IEntity vs IEntity2 IEntityCollection vs IEntityCollection2 IEntityFactory vs IEntityFactory2 IEntityField vs IEntityField2 IEntityFields vs IEntityFields2

Regards

Kakss

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 18-Aug-2005 10:54:34   

Initially LLBLGen Pro just had Selfservicing, which had IEntity and IEntityCollection interfaces. (September 2003). In March 2004, Adapter was added, which uses a different paradigm: no more Save, Delete etc. methods in the entity. This meant that an entity had to have a different interface, without these methods. This interface was simply named IEntity2. Everything with a '2' is Adapter, everthing without it is either selfservicing or shared (IEntityRelation is the same for both for example, so shared). It's not called IEntityAdapter because I wanted to avoid to have names of template sets in the interface names.

Frans Bouma | Lead developer LLBLGen Pro