Case Sensitivity

Posts   
 
    
tmatelich
User
Posts: 95
Joined: 14-Oct-2009
# Posted on: 29-Oct-2009 23:10:12   

This issue I'm sure is exacerbated by my lack of experience w/ DB design and LLBLGen. Essentially, I'm moving from Linq To SQL to LLBLGen Pro (2.6 Demo at the moment) + Postgres 8.x.

To make my initial Postgres schema, I used Enterprise Architect to retrieve the existing Linq To SQL db, tweaked it a bit, and exported as DDL. I then made a database with that schema and generated entities with LLBLGen.

The schema kept my PascalCasing during this process (DataFileTimestamp date NOT NULL, etc), but once it gets in the Postgres (and then out to LLBLGen), the case is lost, and my entity members are not friendly (Datafiletimestamp, etc).

Is there a solution to this? I really don't want to edit every field in LLBLGen.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 30-Oct-2009 01:55:21   

Please check the MakeElementNamePascalCasing flag value on User Preferences and Project Properties.

Also, if possible attach your postgres DDL (you can open a private HelpDesk forum thread if you feel more comfortable).

David Elizondo | LLBLGen Support Team
tmatelich
User
Posts: 95
Joined: 14-Oct-2009
# Posted on: 30-Oct-2009 17:08:54   

Solution (through private helpdesk) was to add underscores to my DDL names. s/{[a-z]}{[A-Z]/\1_\2/

Thanks.