Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Relation Naming Issue
 

Pages: 1
Bugs & Issues
Relation Naming Issue
Page:1/1 

  Print all messages in this thread  
Poster Message
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# Posted on: 10-Aug-2005 20:27:57.  
When adding a new entity to a project, the field name for 1:n relations from other entities is not set properly.

I want 1:n relations to be named with a trailing "s", for example, Customer.Orders. The relation is named with the entity name only, i.e. Customer.Order, and needs to be manually renamed to add the "s".

On relations through intermediate entities, it works correctly, since in the project properties, I have FieldMappedOnManyToManyPattern set to {$IntermediateEntityName}{$EndEntityName}s. I have FieldMappedOnOneManyToOnePattern set to {$EndEntityName} which is what I want for m:1.

It seems that what I want is a "FieldMappedOnOneToManyPattern" option but it doesn't seem to exist.

I'm fairly certain this worked as expected in older versions of LLBLGen.

Apologies if I'm missing something obvious here...
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37804 posts
# Posted on: 10-Aug-2005 21:08:35.  
It was added after 1.0.2004.2 was initially released. Please upgrade to the latest designer, it's there Regular Smiley

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
DaveR
User



Location:

Joined on:
15-Jun-2004 16:37:10
Posted:
43 posts
# Posted on: 11-Aug-2005 16:28:22.  
Ah, of course I should have checked for upgrades first. I'm still on April 22. Thanks!
  Top
Pages: 1  


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

Version: 2.1.12172008 Final.