Entity Framework connection metadata extraction
Posted
by James
on Stack Overflow
See other posts from Stack Overflow
or by James
Published on 2009-08-20T08:03:08Z
Indexed on
2010/06/08
5:02 UTC
Read the original article
Hit count: 372
Hi, I am using the EntityFramework POCO adapter and since there are limitations to what microsoft gives access to with regards to the meta data, i am manually extracting the information i need out of the xml. The only problem is i want to get the ssdl, msl, csdl file names to load without having to directly check for the connection string node in app.config. In short where in the ObjectContext/EntityConnection can i get access to these file names? Worst case scenario i need to get the connection name from the EntityConnection object then load this from app.config and parse the string itself and extract the filenames myself. (But i obviously don't want to do that). Thanks
© Stack Overflow or respective owner