What causes POCO proxy entities to only sometimes be created in Entity Framework 4 -


95%), but randomly I am returning some proxy and some non-proxy.

Recycling the app pool, when this happens, will fix this example of error and it will go away for a while.

Thanks, Cohn

resolved it (im getting used to almost quit, posting here and then solving it)

However, when I was adding a new question I was doing some experiment as it was being stored as a non-proxy, I finally got a new query on the object contact, such as Var q = object contact Create Object & lt; Question & gt; (); This causes the proxy to become and only works fine and dandy.

Hope this helps anyone, cheers,

Kohan

A useful source: (read comments)


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -