entity framework 4 - How to clean/Reset ObjectContext in EF 4 -


I have a sorted structure with millions of records. I have been making a recursive scan on DB to update some connections and some data I am the problem that I get an exception exception because the entire DB is finally loaded on the reference (lazy). That data needs to be in the context of no reference. I can not use references (reference ...) because I want to reference the context because I am doing a recursive scan.

Please take recurring as a fact. Thank you

Such an operation is not really well controlled and neither the institutions By using it it is well done on the scale. I support stored procedures for batch ops.

If you want to remove / dump objects from the context, then I believe that some information (solution to your problem below) is.

Comments

Popular posts from this blog

android - How can I execute default sms app? -

jquery .css('text-decoration') doesn't work from parents -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -