How can I remove the underscore in the name of a column for a foreign key?

169 Views Asked by At

My model contains the entities Order and Orderline. The Orderline has a property of type Order:

<cf:project 
    persistencePropertyNameFormat="{1}"        
    persistenceTableIdentifierSeparatorChar=""
    persistenceRelationIdentifierSeparatorChar="" ...>  

    <cf:entity name="Orderline">
        <cf:property name="Id"/>
        <cf:property name="Order" typeName="{0}.Order" />
    </cf:entity>

CodeFluent has created a database containing a table named Orderline with a column named Order_Id. How can I remove the underscore in the name of this column? I tried to specify an empty string for the persistenceTableIdentifierSeparatorChar and persistenceRelationIdentifierSeparatorChar attributes, but that didn't help.

0

There are 0 best solutions below