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
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
Architecture
Astoria
C#
Code Only
Community
Data Services
DSP
EDM
EF
EF 4.0
EF Internals
Entity Framework
Expressions
Functional
IDataServiceQueryProvider
LINQ
LINQ to Entities
Metadata
Object Services
OData
Philosophical
Ramblings
Samples
Tips
Tricks
Archive
Archives
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)
November, 2007
MSDN Blogs
>
Meta-Me
>
November, 2007
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Meta-Me
Hydrating a DataTable from an EntityDataReader - Part 2
Posted
over 5 years ago
by
Alex D James
1
Comments
See yesterday's post for some context... So we can't rely on EntityDataReader . GetSchemaTable() and a DataAdapter to do the filling of our DataTable for us. We have to do it ourselves. As with any problem the first step is to define the steps:...
Meta-Me
Hydrating a DataTable from an EntityDataReader - part 1
Posted
over 5 years ago
by
Alex D James
3
Comments
Okay so about 5 posts back I promised: "...At this point we have an enumeration of all EntitySet s available. In the next post I explain how we can use that…" Well better late than never... If you remember last time I showed you this piece of...
Meta-Me
Dude where is my query going to run?
Posted
over 5 years ago
by
Alex D James
1
Comments
One of the key decisions with LINQ to Entities (L2E) is that all predicates in an L2E expression must be converted into store expressions, so that the store does all the heavy lifting. This means for example if you try the following: var matches...
Meta-Me
T CastByExample<T>(object o, T example)
Posted
over 5 years ago
by
Alex D James
14
Comments
So earlier today I was lamenting that an anonymous type can't be shared between functions with Wes Dyer , when he said "Well actually they can..." Cue me learning something cool. The first step is to create a seemingly innocent method: public...
Meta-Me
EntityConnectionStringBuilder
Posted
over 5 years ago
by
Alex D James
1
Comments
In my last Metadata post I suggested using a string template to create an EntityConnection connection string. Well it turns out there is a better way... Enter the EntityConnectionStringBuilder class. The only thing it is missing is the ability to specify...
Meta-Me
Compiled Queries and the EntityFramework
Posted
over 5 years ago
by
Alex D James
2
Comments
For a while LINQ to SQL has had compiled Queries... and now in Beta3 of the Entity Framework, due out soon, we have them too. The idea behind compiled queries is that you don't want to re-process the same LINQ expression every time it is encountered...
Meta-Me
CommandBehavior.SequentialAccess
Posted
over 5 years ago
by
Alex D James
4
Comments
So why does this: EntityDataReader reader = command.ExecuteReader(); Throw an exception? Well it is to-do with correctness and setting expectations. First things first, this is what you should do: EntityDataReader reader = command.ExecuteReader...
Meta-Me
Using a random model at runtime
Posted
over 5 years ago
by
Alex D James
4
Comments
In my last post I hinted that using the Entity Frameworks Value layer and Metadata allows you to work against any Entity Data Model in a loosely coupled way. Let’s see how… So let’s imagine you are working against the Value layer. With code something...
Meta-Me
Metadata, Objects and Values
Posted
over 5 years ago
by
Alex D James
2
Comments
One of the things I am doing at the moment is writing a bunch of Entity Framework code with one common theme, leveraging metadata. In the spirit of transparency here is what I have learnt (just this, nothing else at all...) When working with the...
Meta-Me
Sharepoint tricks
Posted
over 5 years ago
by
Alex D James
1
Comments
So Alex Henderson , who took over running the Auckland Architecture chats from me, has been busy recently compiling a wiki full of SharePoint Hacks . Hopefully this will grow overtime, but even as it is it is a useful resource. Asad, who has been...
Meta-Me
Introductions
Posted
over 5 years ago
by
Alex D James
1
Comments
Seeing as this is my first post on this blog, a few things about me are in order. My name is Alex James, a new Microsoft employee, based in Redmond. My family and I have moved to Seattle from NZ just so I could take this job. Now NZ is a pretty nice...
Page 1 of 1 (11 items)