System.Device.Location.GeoCoordinate RRS feed

  • Question

  • Does anyone know if the EF code first supports System.Device.Location.GeoCoordinate?

    I'm getting the following message when I try to POST to my WCF json service (I found this message by turning on traceListener in my WCF .config) 

    System.Data.Edm.EdmEntityType: : EntityType 'GeoCoordinate' has no key defined. Define the key for this EntityType.

    I'm using the type as a property on an entity like so

    public class Walk
        public int Id { get; set; }
        public GeoCoordinate Start { get; set; }


    Sunday, July 24, 2011 11:20 AM


All replies