EDM: schema name

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
robymes
Posts: 29
Joined: Tue 09 Sep 2008 09:46

EDM: schema name

Post by robymes » Thu 30 Oct 2008 14:48

hello,
just a question about schema name in the ssdl part of edmx generated by OraDirect.NET.
as far as I can see, the attribute Schema in the EntitySet tag (ssdl) is equal to the schema name from which the designer build up the model.
so what about having a schema name (so a username) for test and a schema name for production without change ssdl for the two scenarios?
I'm a dev, not a dba, so my oracle knowledge is not so good, but I cannot believe I have to change (it would mean to recompile because of ssdl as an assembly emmbedded resource) everytime the ssdl Schema attribute.

thanks

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 30 Oct 2008 15:27


robymes
Posts: 29
Joined: Tue 09 Sep 2008 09:46

Post by robymes » Thu 30 Oct 2008 17:01

Sorry, I didn't understand how it works... i can delete the Schema attribute and its value?

thanks

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 31 Oct 2008 08:23

You are right. If you delete the Schema attribute from the EntitySet tag, the EDMX will be available for any schema name.

Post Reply