Caption Equivalent in EntityCollection

Posts   
 
    
craigmain
User
Posts: 22
Joined: 17-Apr-2005
# Posted on: 28-Apr-2005 17:46:51   

Hi,

The DataColumn class in DataTable has a field name, and a caption property. All the bound controls I use interrogate the caption for their captions or names, and use the field name for their 'bound' property.

Is there a caption equivalent in the Entity/EntityCollection, or should I use another mechanism to set these captions. The caption is ideal because all the bound controls use it (We use DevExpress)

Regards Craig

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 28-Apr-2005 18:10:13   

You can use custom properties for that, which you can retrieve at runtime easily. See the custom properties section in the documentation for details. simple_smile

If you want, you can alter the shipped plugin sourcecode with 1.0.2004.2, and add functionality to add default custom properties to for example fields of type String or Int.

Frans Bouma | Lead developer LLBLGen Pro