Click here to Skip to main content
12,078,370 members (49,747 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Silverlight service , +
Hi.
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
 
good
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.
  Permalink  

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
Web03 | 2.8.160212.1 | Last Updated 13 Apr 2012
Copyright © CodeProject, 1999-2016
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