Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900