c# - How to get the ObjectContext container Class name? -


How to get the ObjectContext container class name? Without starting it like this Object Contactct Reference = ((IObjectContextAdapter) DB). Objectcontext; .. (4 purpose of learning)

I know that this is the way to do this, but I want to know how to get the name, name. Thank you.

I think this is correct. Model.Context.cs in App_Code if you are generating T4. If you are not then it should be in the model Designer.cs line 47

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -