简体   繁体   中英

Silverlight: Exposing entity framework ENTITY classes to silverlight?

I have some entity framework entity classes in there own assembly and they are shared amongst WCF and clients like asp.net and WPF. It works as it should :-)

Problem is now i need to share this assembly with silverlight - please note i am not using RIA services and i am unable to use ria services as i am locked into wcf services. I know with RIA services its transparent but i don't have this option.

Considering that its not possible to share (as far as i know) assemblies created in .net with silverlight - how do i get the entity classes into silverlight (client) .. actually i am using POCO (entity framework 4) .....

Any help really appreciated.

I have an article that talks about the solutions. Sharing code between Silverlight and .NET

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