New Post: Querying based on Interfaces
Hi Matt, I'm not sure why adding the class constraint to the generic class makes it work. But then I'm not entirely sure what the compiler is generating here anyway. It would be interesting to...
View ArticleNew Post: Resource based Pre-Generated Views
Hi Dwin, I know this is something we have looked at in the past but I don't think anyone is working on it right now. I think this could be an interesting feature to include in the Power Tools....
View ArticleNew Post: websocket ".Net ASP.NET nothing"
Hi ematrix, I'm afraid I can't really follow your question. If you have something relating to the Entity Framework to discuss then could you try rephrasing your post? If you have a programming question...
View ArticleNew Post: websocket ".Net ASP.NET nothing"
Arthur Thanks With my Spanish language is not English.poorly understand my writing. regards
View ArticleNew Post: Query generation in batch insert scenarios
Adding batch inserts in an ORM is a trap. Here's why. An ORM is a system with a persistence core and on top of that entity services which provide additional functionality to the developer for working...
View ArticleNew Post: Complex type as ID
Is there any plans to add support for complex types as ID properties? This is extremely useful in DDD, e.g. model an OrderId type, it may very well contain just a single integer property, but it still...
View ArticleNew Post: Query generation in batch insert scenarios
Hi Frans, Thanks for the feedback. It is our intention to test various options in high-latency situations where it appears that batching could improve performance for relatively common scenarios--i.e....
View ArticleNew Post: Complex type as ID
Hi Roger, Using complex types as IDs is not something that is on our immediate plans although we do occasionally hear requests for it. It is certainly something that it would be possible to do but it...
View ArticleNew Post: Complex type as ID
I don't see any direct porblems with it, my main concern is typesafety in the domain model and if it solves that its all fine from my POV. Would it still be a real EF complex type one specifies as the...
View ArticleNew Post: Complex type as ID
"Would it still be a real EF complex type one specifies as the type on the property in such case?" That's a good question to which I don't know the answer. We haven't done much more than conceptual...
View ArticleNew Post: Resource based Pre-Generated Views
What is the reasoning for having the CompressingHashBuilder internal and not public? I can use the ComputeHash static function on the StringHashBuilder but not sure how much memory that will chew up...
View ArticleNew Post: Complex type as ID
I don't see a usecase for both a navigational property and an FK property at the same time. However, sometimes one don't want this big interconnected graph of entities.One might want to model aggregate...
View ArticleNew Post: Nested includes are creating a very inefficient SQL query - Is this...
I've broken this down into the simplest possible case where I can see the problem occurring. Three tables, with two successive 1-to-many relationships, as shown in the image below. Entities are...
View ArticleNew Post: Dynamic ORM VS Entity Framework
In some situation I have experiened EF can't help (or hardly can) dealing with databases. For example in real world badly-designed databases we would need to access different tables with the same...
View ArticleNew Post: Changing the "view generation" from a single monolithic...
Large EF models have unusably slow startup times. View generation tools are a hassle. Is it possible to just do the view generation lazily?
View ArticleNew Post: Changing the "view generation" from a single monolithic...
Hi ses4j, We are actively investigating the view gen issue at the moment and have some ideas for improvements based on additional work done by Microsoft Research. I will update this thread if/when we...
View ArticleNew Post: Implement IObjectContextAdapter on ObjectContext
Or any other common interface to handle the changes between DbContext and ObjectContext, we currently have an generic class that can take a TContext : ObjectContext but adding support for DbContext...
View ArticleNew Post: Implement IObjectContextAdapter on ObjectContext
Hi XIU, Can you provide some more details on how you are mixing ObjectContext and DbContext in your code? Is this for an application or framework extensions type code? I'm not totally against the idea...
View ArticleNew Post: Dynamic ORM VS Entity Framework
heartbreaka, Thanks for the feedback. I can't comment on the product you mentioned but dynamic mapping is something that we have discussed several times and we are certainly not against it assuming...
View ArticleNew Post: Changing the "view generation" from a single monolithic...
Will be possible use pre-generated views with code-first?
View Article