Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Designer> Entity Description
 

Pages: 1
Designer
Entity Description
Page:1/1 

  Print all messages in this thread  
Poster Message
MattiasEricsson
User



Location:
Gothenburg
Joined on:
30-Dec-2019 11:24:33
Posted:
1 posts
# Posted on: 29-Jan-2020 09:34:11.  
Is there anyway to add a description to an Entity? During modelling there might be many Entities and it would be great if it would be possible to add a description text to the entity explaining the purpose of the entity. This description is only used for documentation purpose.
Mattias Ericsson  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
38090 posts
# Posted on: 29-Jan-2020 09:44:54.  
Yes, it's called 'custom properties' and they're generated into the xml doc comments on an entity class. (or field/navigator if you add them to those). You can also access these in your custom templates if you want to.

The easiest to add them is by opening the general entity editor (Project -> General Entity Editor) then click an entity in the project explorer and go to the Code generation info tab, then to the Custom Properties tab and click New to add a name-value pair. To add a description to another entity, click another entity in the project explorer, the tab selection stays the same so you can just click 'New...' and add a name-value pair there.

Additionally, a modelview has a documentation pane too, which might be a good place to give context to a set of related entities. It's docked to the left side of the model view viewer.

You're going to use the description in a given context somewhere, e.g. custom templates? (so we understand the use case and can e.g. make the editing of these easier (as it's currently a little cumbersome) and perhaps add it to our system )


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.