Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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
0 OriginalGriff 304
1 Sergey Alexandrovich Kryukov 255
2 Maciej Los 250
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,586
3 Manas Bhardwaj 4,946
4 Maciej Los 4,665


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 13 Apr 2012
Copyright © CodeProject, 1999-2014
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