Sign in
Meta-Me
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
Astoria
C#
Code Only
Community
Data Services
DSP
EDM
EF
EF 4.0
EF Internals
Entity Framework
Expressions
Foreign Keys
Functional
IDataServiceQueryProvider
LINQ
LINQ to Entities
Metadata
Object Services
OData
Philosophical
Ramblings
Samples
Tips
Tricks
Archive
Archives
May 2013
(1)
December 2012
(2)
November 2012
(1)
August 2012
(2)
February 2012
(1)
June 2011
(2)
June 2010
(3)
March 2010
(2)
February 2010
(5)
January 2010
(10)
December 2009
(3)
November 2009
(9)
October 2009
(4)
September 2009
(3)
August 2009
(5)
July 2009
(8)
June 2009
(8)
May 2009
(9)
April 2009
(9)
March 2009
(10)
February 2009
(3)
January 2009
(7)
December 2008
(3)
November 2008
(2)
September 2008
(2)
July 2008
(1)
June 2008
(1)
May 2008
(7)
April 2008
(2)
March 2008
(3)
February 2008
(8)
January 2008
(2)
December 2007
(2)
November 2007
(11)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Meta-Me
Interesting reads
Posted
over 4 years ago
by
Alex D James
3
Comments
Over the weekend in between run throughs that I did prepping for a webcast, I did some catch-up blog reading. Lots of interesting stuff. Recording and sharing here for posterity: Entity Framework Simon Segal has a interesting post on Entity Framework...
Meta-Me
Corrected Tip 15 - How to avoid loading unnecessary properties
Posted
over 4 years ago
by
Alex D James
1
Comments
I've made a few important corrections to Tip 15 . I've corrected the bit that said the UPDATE SQL includes original values of Updated Properties in the WHERE clause. At the time I was consciously attempting to simplify things a little, but as Tanveer...
Meta-Me
Tip 15 - How to avoid loading unnecessary Properties
Posted
over 4 years ago
by
Alex D James
4
Comments
UPDATE: Made a couple of important corrections re-which Original Values are required. Problem: Imagine if you query blog posts: var myPosts = from post in ctx.Posts orderby post.Created descending select post; Just so you can output the post...
Meta-Me
Tip 14 - How to cache Entity Framework Reference Data
Posted
over 4 years ago
by
Alex D James
13
Comments
Scenario: In order to make applications perform it makes a lot of sense to cache commonly used reference data. Good examples of reference data include things like States, Countries, Departments etc. Generally you want to have this data readily at hand...
Meta-Me
An analogy: Good UIs and Fluent APIs
Posted
over 4 years ago
by
Alex D James
5
Comments
Background A while back I was writing a web app to try the Entity Framework and MVC together. I knew the pain points would probably be around Foreign Keys, or at least the lack of them in .NET 3.5 SP1 (FKs are now available by default in .NET 4...
Meta-Me
Tip 13 - How to Attach an Entity the easy way
Posted
over 4 years ago
by
Alex D James
13
Comments
The Problem: In some of earlier tips we talked about using Attach to load things into the ObjectContext in the unchanged state without wearing the cost of doing a query. Attach is the weapon of choice if performance is your goal. Unfortunately our APIs...
Meta-Me
Tip 12 - How to choose an Inheritance Strategy
Posted
over 4 years ago
by
Alex D James
13
Comments
What strategies does the Entity Framework support? The Entity Framework supports 3 primary inheritance strategies: Table Per Hierarchy (TPH): In TPH, all data for a type hierarchy is stored in one table, and there is a discriminator column that is used...
Meta-Me
Tip 11 – How to avoid Relationship Span
Posted
over 4 years ago
by
Alex D James
5
Comments
Background and Motivation: In my last post on EF Jargon I introduced the concept of Relationship Span. If you remember Relationship Span is basically responsible for compensating for the lack of Foreign Key properties* in your Entity. Relationship...
Meta-Me
Tip 10 - How to understand Entity Framework jargon
Posted
over 4 years ago
by
Alex D James
4
Comments
The Entity Framework is pretty big, so when the Entity Framework team talks about things internally we tend to use jargon to increase communication 'bandwidth'. Unfortunately sometimes we let this Jargon slip into our APIs and communication. Now...
Page 1 of 1 (9 items)