By tag: linqtoentities
0
kicks
Introducing DataLoadOptions for Entity Framework ObjectContext
On my previous post “What about DataLoadOptions for Entity Framework ObjectContext?” I was suggesting another way to define eager loading for Entity Framework. In this post I will introduce my DataLoadOptions for Entity Framework ObjectContext. The beginning: Actually Eager and Lazy loading on Entit...
0
kicks
What about DataLoadOptions for Entity Framework ObjectContext?
I think the proper way to start this post is to ask How do you do eager loading with Entity Framework? And the basic native simple answer is by using ObjectQuery<T>.Include(string) method. No matter what you tried to do, you’ll end up using this way.
So there was ideas about how enhance the...
0
kicks
Domain Driven Design & Test Driven Design\Development with Entity Fram
decided to provide some integration testing before proceeding as a proof of concept. In integration testing I will connect to the database and perform unit testing while connecting to the database.\
This unit test is almost identical to the one in my previous post. Except here I am testing the r...
0
kicks
LINQ Method cannot be translated into a store expression.
A short snippet/workaround if you ever see the following exception: LINQ to Entities does not recognize the method ... , and this method cannot be translated into a store expression.
It is thrown because in the Entity Framework Custom Methods & Extension Methods cannot be translated into a stor...
0
kicks
LINQ to Entities, Workarounds on what is not supported
LINQ to Entities, Workarounds on what is not supported. 2 ways to get ride of what is not supported in LINQ to Entities.
0
kicks
LINQ to Entities, what is not supported?
A look at what LINQ to SQL support and not supported in LINQ to Entities.
0
kicks
Projecting with Aggregates in LINQ to Entities
This is a quick example that shows how to grab a few properties from a parent entity and use an aggregate function on the parent entity's children entities.