Operation could destabilize the runtime Reflection.Emit and common pitfalls
Posted by: Mehfuzs WebLog,
on 07 Jun 2009 |
View original | Bookmarked: 0 time(s)
In the last post i said about LinqtExtender implementing necessary property and injecting specific settings for entity objects. The issue i have is that it works fine under full / high trust settings but when running in medium trust it gives the following error: Ouch.. it is only happening while i am using the extender from medium trust environment. As to add a little prologue, actually it creates a proxy around your original entity and if you look closely it is giving the error in .ctor(). Now...