Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

New Post: Circular reference

$
0
0
Yep I had taken a look at that route, not that post tho. It is a little more in depth than the ones that I had found. I was trying to avoid it it being that I am using an generic repository.

I am thinking that I am going to change my direction a little and move to pushing the entities with a Json Web API controller. It was the what I was originally moving toward but wanted to explore this option first.

And just for anyone else that is having problems with recursive loading in you objects, make sure that "AutoDetectChangesEnabled = false" in your context configuration. If it is not and you reuse a context that you previously included related objects in then it will pull them from local cache and included them into future queries. Causes a little bit of a headache being that depending on the order of the query you can get different shaped data.

Lastly, thanks for the great extension, it has saved untold hours of writing boiler plate code for an database that is changing constantly in development. I am going to keep using it to generate my POCO objects to share my model with the other projects.

Thanks
Andy

Viewing all articles
Browse latest Browse all 1642

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>