Saturday, December 8, 2012

DbGeography + entity framework 5 + Silverlight + DomainService

DbGeography + entity framework 5 + Silverlight + DomainService

I have create Entity with DbGeography and add it to my Domainservice. But my SL app didn't see this filed. How can I use DbGeography in SL5 app?

Answers & Comments...

Answer: 1

Unfortunately, you can't use DbGeography in Silverlight. It's not supported. You'll have to convert the DbGeography to a string (Well Known Text), a byte[] (Well Known Binary), or your own custom representation and work with it in that format within the Silverlight application.

by : Ray Saltrellihttp://stackoverflow.com/users/1006107




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog