Click here to Skip to main content
12,701,573 members (34,420 online)
Rate this:
Please Sign up or sign in to vote.
See more: Silverlight service , +
I working on silverlight project.
I must Interact with a SQL DataBase.
I want to use Entity But silverlight do not allow me to use Entity API.

I search and I found I must use WCF Service for using Entity and SQL.

My problem is that how can I use my Classes that Entity designer make for me in my Silverlight application ?

For example designer make for me a use Class.
How can I instance a variable of user Type ??

Thank a lot for your answer
Posted 6-Apr-12 20:58pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

You write WCF services for returning the data to your application.
The WCF services act as your agent to your Entity Framework objects and context.
When you create a ServiceReference to your services it sets up Silverlight with the data contracts that your ServiceContract will be returning in the calls.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 13 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100