I am trying to create a REST endpoint through WCF Data Services to expose some spatial data in a SQL Server 2008 database, but the way I am doing it doesn't support spatial data types (geography/geometry).

In this intro video it shows how to use the ADO.NET entity data model, but that data model doesn't support spatial types, and shows errors when I select the spatial table.

Does anyone know of something I can do to resolve this, or can point me in the right place in order to find more info? I just want a REST endpoint that exposes a set of points from my database.