简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM