I am using EFv5 which now has the geography data type. So i have an entity called Place and it has a property called geoLocation that is of type geography. VS 2012 has automatically created the code for this entity and the property type for this geography type has been declared as System.Data.Spatial.DbGeography. So everything is working fine.
But when i add a domain service class and tick to include my place entity the solution stops compiling since the domainservice.metaData.cs file does not seem to be able to create the property for the geography type. And i get an "Entity 'SilverlightApplication1.Web.Place' has a property 'GeoLocation' with an unsupported type" error message.
So how do i include this geography data type in my domain service class?
I have tried to manually add the property to the created metadata file but i still get the same error message.