zengcheng / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

Suggestion: PLINQO DBML Template - Unidirectional associations #434

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run template against a database with a foreign key relationship
2. Change the resulting association to a uni directional association by 
removing the 'ChildProperty' (set ChildProperty to false in the designer or 
edit the file directly and remove the relevant association XML tag).
3. Regenerate the DBML template

What is the expected output? What do you see instead?
The assocation is regenerated as a bidirectional association.

What version of the product are you using?
PLINQO Template 5.0

Please provide any additional information below.

Suggest either a means of designating associations as uni-directional when they 
are generated, or of excluding associations from generation so that they can be 
manually created using the template's existing mechanism.

Original issue reported on code.google.com by david.au...@ivision.com.au on 29 Jun 2010 at 3:42

GoogleCodeExporter commented 9 years ago

Original comment by bniemyjski on 29 Jun 2010 at 3:12

GoogleCodeExporter commented 9 years ago
Hello,

We will consider adding this in a future release of PLINQO.

Thanks
-Blake Niemyjski

Original comment by bniemyjski on 1 Jul 2010 at 4:40

GoogleCodeExporter commented 9 years ago

Original comment by paul.wel...@gmail.com on 20 Jul 2010 at 1:08

GoogleCodeExporter commented 9 years ago
http://community.codesmithtools.com/Template_Frameworks/f/66/t/11074.aspx

Original comment by bniemyjski on 11 Feb 2013 at 11:01