EntityClasses and fields names

Posts   
 
    
Posts: 1
Joined: 01-Jun-2005
# Posted on: 01-Jun-2005 15:10:58   

Hi from Paris

I'm just trying to evaluate LLBLGen Pro. Sure it's a real incredible product.

I've got a minor problem, question... When making some code using generated EntityClasses like customer, the intellisense list fields plus all methods and properties generated sometimes it's hard to find the most important: fields Is it possible to have an Entity class wich represent in the code intellisense only the fields of the persistent table ?

Thx for all, and sorry for my english

Posts: 112
Joined: 09-Aug-2004
# Posted on: 01-Jun-2005 16:39:24   

There is an enum with all of the fields. It should be

[Root Namespace].TableFieldIndex.[Fields]

Where [Root Namespace] is the roto namespace given to the generated code

TableFieldIndex Is the Name of the table plus FieldIndex for the table you want. For example, if your table is Customer and you wanted their id, it could be

BL.CustomerFieldIndex.CustomerID