New Posts New Posts RSS Feed: DF tt not setting Entity Container Access properly
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

DF tt not setting Entity Container Access properly

 Post Reply Post Reply
Author
scottarlp View Drop Down
Newbie
Newbie


Joined: 07-Apr-2011
Posts: 26
Post Options Post Options   Quote scottarlp Quote  Post ReplyReply Direct Link To This Post Topic: DF tt not setting Entity Container Access properly
    Posted: 15-Nov-2011 at 9:36am
I can't get the Entity Container Access property to honor the value of 'Internal'. It still generates the container as public. Is this a bug or intended? Using 6.1.3.1.
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 15-Nov-2011 at 4:48pm
Hi scottarlp;

Apparently it's neither. We just didn't implement it as so. I have added this as a feature request which should be implemented in 6.1.4 or 6.1.5.

For the time being, you can do one of the 2 workarounds:

1. Manually change the access type.

or

2. Customize the code generation using the attached .tt file. uploads/912/Model1.edmx.tt.zip

And just in case you're not familiar with customizing code generation, here's a write up from our DRC. http://drc.ideablade.com/xwiki/bin/view/Documentation/custom-code-generation-template


Edited by DenisK - 15-Nov-2011 at 5:04pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down