New Posts New Posts RSS Feed: Hiding Schema name
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Hiding Schema name

 Post Reply Post Reply
Author
bala View Drop Down
Groupie
Groupie
Avatar

Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options Post Options   Quote bala Quote  Post ReplyReply Direct Link To This Post Topic: Hiding Schema name
    Posted: 10-Sep-2010 at 11:48am
Hi

I want to hide my schema name from Model EDMX
When we open in XML Editior Its showing Schema name.
But I do not want to show this schema name in my XML .

Have any property or method that i can delete that schema name?

Thanks i Advance
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 14-Sep-2010 at 7:52pm
What specific property are you referring to?  Can you paste the line from the EDMX?

Back to Top
bala View Drop Down
Groupie
Groupie
Avatar

Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options Post Options   Quote bala Quote  Post ReplyReply Direct Link To This Post Posted: 15-Sep-2010 at 4:25am
Hi Ting

in below code I want to hide Schema="CLIENTE_NOVO"

is it possible?

 <EntityContainer Name="ModelStoreContainer">
          <EntitySet Name="STUDENT" EntityType="Model.Store.STUDENT" store:Type="Tables" Schema="CLIENTE_NOVO" />
        </EntityContainer>

Thanks
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 15-Sep-2010 at 7:31pm
That is part of the Entity Framework edmx which we do not control.  In an n-tier environment with DevForce none of that information is exposed to the client / end-user.  However, if you are trying to hide it from the developer, I'm not sure there is a good solution.

Back to Top
bala View Drop Down
Groupie
Groupie
Avatar

Joined: 18-Aug-2010
Location: Brazil
Posts: 54
Post Options Post Options   Quote bala Quote  Post ReplyReply Direct Link To This Post Posted: 16-Sep-2010 at 1:01pm
Thanks

But few reason i want to hide it from others...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down