Danny’s new adventures

Danny Simmons is going to rock the compiler world. Join me in wishing him all the best – it’s a small world after all (or so I’ve heard), and I hope to run into him in the not too distant future. The Entity Framework remains in very able hands however; just you wait and see…

0

Entity Framework CTP 4 Walkthroughs

In case you’ve missed them, there are two walkthroughs that have been recently posted on some of the EF CTP4 shininess. Code First. Walks you through describing a model with classes, touching them up with a fluent API through a builder or configurations, and creating and manipulating a database using ObjectContext or DbContext. Productivity Improvements….

0

Nice OData shout-out

Today, a simple link to OData, O How I Love Thee, with a nice review of how OData, WCF Data Services, ADO.NET Entity Framework and jQuery can all be better together. Enjoy!

0

Service Operations for Any and All

As I wrote about a while ago, quantifiers such as ‘any’ and ‘all’ are not supported in WCF Data Services. One way to work around this if you have some specific need is to create a service operation, which is what we’ll walk through today. The ScenarioI’m going to write a small WCF Data Service…

0

Overview of System.Data.Services.Providers

So, what can you find in the new System.Data.Services.Providers namespace, and why would you care? Typically, you’ll write data services using a well-defined data model with rich querying and update capabilities, like the Entity Framework. In this case, you won’t care much for the types in this namespace. If on the other hand you have…

0

Create your schema with Entity Framework

In case you haven’t yet, it’s worth reading about what’s new with Entity Framework in Visual Studio 2010 RC. Of the two items highlighted for the framework, the one that excites me the most is the DDL generation capability. I find that it comes in very handy in two different scenarios: At deployment time, it…

2

ADO.NET Data Servces in action (and in Word and Outlook!)

Beth Massi has written a couple of very good posts involving ADO.NET Data Services, which I strongly encourage folks to read. Using ADO.NET Data Services (the fundamentals, great walk-through) Building an Office Business Application for TechReady 8 (awesome teaser) OBA Part 2 – Building an Outlook Client against LOB Data (integrating with Outlook is much…

0

Depth vs. width in ADO.NET Data Services $expand

The $expand option in the query filter is used to request entities associated with the last segment of a request. This is often used to ensure that entities can be materialized with their relationships wired together and to reduce the number of roundtrips to the server. For example, if http://www.example.com/service.svc/Customers returns all customers, then http://www.example.com/service.svc/Customers?$expand=Orders…

1

Gotcha with EDM types in ADO.NET Data Services

Astute developers might have noticed that there are a couple of differences in the Simple EDM types and how they are mapped to types in ADO.NET Data Services. In particular, DateTimeOffset and Time properties are not available as CLR types in ADO.NET Data Services. For the time being, the DateTime type is your best bet,…

0

Another ADO.NET Data Service metadata tip

Today’s tip is a pretty short one. If you see a ‘ReflectionServiceProvider’ type on an error call stack, you’ll know that the ‘T’ in DataService<T> is not recognized as an ADO.NET Entity Framework data source (the type is actually rather simple – the ‘T’ should inherit from ObjectContext). If the source is an ADO.NET Entity…

1