Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Disable dynamic Proxy in EF 4
WhatsApp
Muralidharan Deenathayalan
14y
18.4
k
0
0
25
Blog
If you want to stop/disable the dynamic proxy generation for your entites , please add the below line in your code.
context.ContextOptions.ProxyCreationEnabled =
false
;
To learn more about this option :
http://msdn.microsoft.com/en-us/library/dd456853.aspx
Hope this helps someone.
Disable dynamic Proxy in EF 4
People also reading
Membership not found