why there are 2 different classes one for fields & another for entity itself

Posts   
 
    
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 14-Mar-2008 07:11:53   

why there are 2 different classes one for fields & another for entity itself It seems like fields class is used for predicate search. Is that correct

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 14-Mar-2008 08:43:38   

Because LLBLGen Pro uses an object /class (EntityField) to map a database field. (Object Oriented Design) simple_smile

An EntityField holds many properties other than value, and have some operations/methods which change its state or modify these properties.

Please check the properties and methods of the EntityField class in the LLBLGen Pro Reference manual.