home recent topics recent posts search faq  

Huagati Systems Support Forum



register | lost password   open id sign in with Twitter
Messages in this topic - RSS

Home » Huagati DBML/EDMX Tools Support » Multiple associated properties of same type-naming

Support forum for Huagati DBML/EDMX Tools
12/8/2009 9:31:43 PM

Licho
Licho
Posts: 1
I'm having a small problem with automatic name standardization.

Suppose I have table which has 2 associated people:

BuyerID
SellerID

Tool generates "PersonBySerllerID" for one property but "Person" for other.
I would like both to use "PersonByX" naming type.

Is there a way to do it?
0 permalink
12/11/2009 10:26:21 AM

Kristofer Andersson
Kristofer Andersson
Moderator
Posts: 331
If both are new / added by the tool, both should use that naming pattern. However, if the BuyerID already existed and was added by the VS designer (through drag-and-drop) it will not change name. If you drop that association from the designer and re-run the "update from database" command it should re-add it with the "By[PropertyName]" naming style.
0 permalink

Home » Huagati DBML/EDMX Tools Support » Multiple associated properties of same type-naming





Powered by Jitbit Forum 7.1.0.0 © 2006-2011 Jitbit Software