Stories recently tagged with 'linqtoentities'

Introducing DataLoadOptions for Entity Framework ObjectContext(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 2 years, 8 months ago

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 Entity Framework is not that much fun like in Linq to Sql. However this is going to be improved in EF4. Here I will focus on eager loading and my slight improvement to define eager loading in Entity Framework. read more...

add a comment |category: |Views: 75

tags: another

What about DataLoadOptions for Entity Framework ObjectContext?(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 2 years, 9 months ago

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 eager loading in our Entity Framework base applications. You can read about some of these ideas.... read more...

add a comment |category: |Views: 105

tags: another

Domain Driven Design & Test Driven Design\Development with Entity Fram(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 2 years, 11 months ago

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 results that is coming out from EF and Database. My target is to test IDataContext Implemented methods in NorthwindDataContext read more...

add a comment |category: |Views: 47

tags: another

LINQ Method cannot be translated into a store expression.(blog.dreamlabsolutions.com)

submitted by arnoldmatuszarnoldmatusz(600) 3 years, 2 months ago

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 store expression. read more...

add a comment |category: |Views: 809

tags: another

LINQ to Entities, Workarounds on what is not supported(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 3 years, 5 months ago

LINQ to Entities, Workarounds on what is not supported. 2 ways to get ride of what is not supported in LINQ to Entities. read more...

add a comment |category: |Views: 70

tags: another

LINQ to Entities, what is not supported?(mosesofegypt.net)

submitted by mosessaurmosessaur(5424) 3 years, 5 months ago

A look at what LINQ to SQL support and not supported in LINQ to Entities. read more...

add a comment |category: |Views: 342

tags: another

Projecting with Aggregates in LINQ to Entities(johnpapa.net)

submitted by BlueDog7BlueDog7(370) 3 years, 9 months ago

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. read more...

add a comment |category: |Views: 125

tags: another