Is it possible to control the generator to do column naming convention to have exceptions

Posts   
 
    
vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 22-Mar-2008 01:51:06   

Is it possible to control the generator to do column naming convention to have exceptions only for certain columns in certain tables.

I have columns named Object_Id the generator names it to ObjectId and causing CLR conflict. Is it possible to make exception for this column alone? Thanks

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 22-Mar-2008 04:09:23   

There are options at "Name construction specific settings" at Project Properties /Project Preferences but nothing that help you here. The best thing is renaming the Field manually at LLBLGenPro Designer (you can rename it as you want), then the generated code will put it as you just renamed it.

David Elizondo | LLBLGen Support Team
simmotech
User
Posts: 1024
Joined: 01-Feb-2006
# Posted on: 23-Mar-2008 06:59:52   

vairam2008 wrote:

Is it possible to control the generator to do column naming convention to have exceptions only for certain columns in certain tables.

I have columns named Object_Id the generator names it to ObjectId and causing CLR conflict. Is it possible to make exception for this column alone? Thanks

You could also try the Abbreviations tab on Project Properties. Set the Abbrevation to "Object_Id" and Full Word to whatever you want it to be replaced with.

Cheers Simon

vairam2008
User
Posts: 86
Joined: 11-Mar-2008
# Posted on: 26-Mar-2008 00:31:20   

excellent both methods worked when I tried. But I am sticking with the method of editing in the designer since I had it in only 2 tables & it becomes more visible. Thanks anyways.