home recent topics recent posts search register faq   AspNetForum v.4.8.2.0

Huagati Systems Support Forum :: Forum

user:
psw:
| lost password
Home » Huagati DBML/EDMX Tools Support » Multiple associated properties of same type-naming Messages in this topic - RSS
12/8/2009 9:31:43 PM
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?
12/11/2009 10:26:21 AM
Kristofer
Posts 240
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.
pages: 1
|

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