Hiding Schema name
Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2145
Printed Date: 02-Feb-2026 at 5:29am
Topic: Hiding Schema name
Posted By: bala
Subject: Hiding Schema name
Date 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
|
Replies:
Posted By: ting
Date Posted: 14-Sep-2010 at 7:52pm
|
What specific property are you referring to? Can you paste the line from the EDMX?
|
Posted By: bala
Date 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
|
Posted By: ting
Date 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.
|
Posted By: bala
Date Posted: 16-Sep-2010 at 1:01pm
Thanks
But few reason i want to hide it from others...
|
|