Mikael Eliasson

Results 26 comments of Mikael Eliasson

My first try was to build it with ``` x => x.Reads = x.Reads + 1 ``` The problem was that Linq didn't support assignments in the inline version. The...

Yes yes! I was about to comment in #20 about this. I like this approach more because it's more flexible (you can have many different "Fetch profiles" with this solution)....

What it allows you to do is that if you are going to insert 2 BlogPosts with 2 Comments each you can now do that in two sql statements. In...

Even self referencing relationsships should be solvable. If it's worh it is another question though. Building a dependency graph should solve it in the generic case. It's a bit of...

Very interesting. How do you find the performance of this solution? The changetracker can be quite slow but i guess it should be barely noticable with a single DetectChanges cycle....

Yes, But you don't get the id back so you can't populate the fks with it. I've been thinking about a way to allow that with temp tables and a...

I got Id return working with SqlBulkCopy today. That means it will be possible to make bulk insert of related entities work even with store generated id's. It's about 2x...

Interesting. Will take a look at this after we shipped at work this week. Preferebly I would prefer if it was possible to get it to work with Take(x) to...

Are you using projections? I didn't figure out how to get that to work yet.

Could you share classes? I'm interested in seeing the the foreign keys and navigation properties