Fire-and-Forget Key Values

NOTE as of 3/27/07: In more recent CTPs, the mechanism described below has been replaced by something much simpler.  See this follow-up post for more details.    Here’s another subject on which we of the ADO.Net team spent a lot of time while getting ready for this release: automatic generation of key values.  This seemingly simple…

5

"The Joy of a Custom Built Object" or "What the heck is DoFinalConstruction()?"

Updated 5/2/07: After Orcas beta 1 this mechanism has been changed as described in this post. ______________________    Here’s another interesting question that was raised in the ADO.Net Tech Preview forum: How do I add custom construction logic to my entity without creating another constructor overload?   This question is particularly interesting because the code…

2

Query me this…

Good intentions aside, it has been more than a week since my last blog entry.  Urrggg.  Fortunately, another post in the ADO.Net Tech Preview Forum has motivated me to get writing again. The question was essentially: If I create a new entity and add it to my context, why isn’t it returned when I execute a…

5

Rich vs. Reach

In spite of my enthusiastic passion for the Internet and my history (before coming to Microsoft I worked on “Campus Wide Information Systems” at Idaho State University during the birth of the web, then I ran the second ISP ever in Idaho, etc.), I’ve always been a huge fan of rich clients.  Web applications are…

2

Why not UpdateObject()?

A question came up in the ADO.Net Technology preview forum recently which made me think that it might be helpful to folks if I were to fill in some background information about how a part of the Entity Framework’s Object Services layer works.  The question goes something like this: I can call AddObject on my…

2