New Post: Changing the "view generation" from a single monolithic...
AndrePassos, You can do that already. Cheers, Andrew.
View ArticleNew Post: Bulk (i.e. set-based) operations
lukemcgregor wrote: I have done some tests on the EF Extended and found that the performance was quite poor. What was the scenario you found to have poor performance? As the author of...
View ArticleNew Post: Bulk (i.e. set-based) operations
RoMiller wrote: If anyone is planning to tackle the code for this feature I just want to encourage you to reach out to our team for help working out how to implement it. This would be a pretty complex...
View ArticleNew Post: System.Diagnostics.Contracts
Hello, It seems that the source code mostly uses contracts pre and post-conditions of the form: Contract.Requires(x != null); Is it a deliberate choice to limit yourself to such kind of simple...
View ArticleNew Post: System.Diagnostics.Contracts
Hi vaucouleur, Good point. Contracts was originally introduced as a way to replace our hand-rolled pre-condition checks. But we recently discussed this as a team and decided to extend our use of...
View ArticleNew Post: Implement IObjectContextAdapter on ObjectContext
In our framework we have a generic base class that the developers can use to override certain parts of the application. /// <summary> public partial class PersistentObjectActions<TContext,...
View ArticleNew Post: Resource based Pre-Generated Views
Hi Dwin, Sorry for taking some time to get back to you. I can see no real reason why this cannot be made public if it is needed to make the Power Tools change work efficiently. Thanks,Arthur
View ArticleNew Post: Implement IObjectContextAdapter on ObjectContext
Hi XIU, Thanks for the additional info. I'll bring up the idea of making ObejctContext implement IObjectContextAdapter with the team and get back to you. Thanks,Arthur
View ArticleNew Post: Bulk (i.e. set-based) operations
Hi Paul, Thanks for the comments. We discussed this in the EF design meeting a couple of weeks ago and made some decisions. You can check out the notes here:...
View ArticleNew Post: System.Diagnostics.Contracts
Hi Andrew, This is a good news. It would be great if the code could also use class invariants (in addition to pre and post-conditions) http://msdn.microsoft.com/en-us/library/dd412890.aspx I will look...
View ArticleNew Post: Query generation in batch insert scenarios
Hey guys I did a few tests around the comparative performance of the different SQL insert methods which show up some of the details around Query Plan calculation, SQL bulk copy and how all of this...
View ArticleNew Post: Query generation in batch insert scenarios
Hi Luke, That's some great information. One thing I'm curious about is how these numbers change as the latency between the app and the server increases. What is your current setup in terms of where the...
View ArticleNew Post: Query generation in batch insert scenarios
Hey Arthur Yeah those tests were to a machine less than a millisecond away (on local gigabit). Ill grab a latency generator and try a few more scenarios, we use a few for work already as NZ is a long...
View ArticleNew Post: Implement IObjectContextAdapter on ObjectContext
Hi XIU, We discussed this today and would likely accept a pull request for such a change. It's being tracked by this item: http://entityframework.codeplex.com/workitem/473 Thanks,Arthur
View ArticleNew Post: Query generation in batch insert scenarios
Hey Arthur I've done a few tests around how latency affects insert performance and the results are about what you would expect, IE when you batch multiple statements into a single statement or...
View ArticleNew Post: Query generation in batch insert scenarios
In all honesty, who's going to insert 10K rows over a 100ms latency connection? Be aware that batching only has benefits in bulk inserts.
View ArticleNew Post: Query generation in batch insert scenarios
Hi Frans I can tell that you do not want to modify the query generation for Entity framework, however I am unsure why you are so concerned about the proposed modifications. When testing often its...
View ArticleNew Post: Migration enhancements
I noticed there are some changes planned for Migrations API, mainly I'm interested in support for multiple contexts. Is there any information regarding how it will be implemented? Also it seems like...
View ArticleNew Post: Changing the "view generation" from a single monolithic...
AndrePassos wrote: Will be possible use pre-generated views with code-first? The solution we're currently using for this is https://github.com/IdeaBlade/EdmTasks. See more discussion here:...
View ArticleNew Post: Applying expressions to entities
Harold, We have a feature planned for EF6 that would allow you to perform server-side evaluation of any expression that EF is able to translate even if the expression is not rooted in an entity set....
View Article