Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LinqToSql And Silverlight
Message
De
20/10/2010 14:22:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01486268
Message ID:
01486362
Vues:
52
>>>I created a Silverlight project. Why is there no LinqToSql in the Add New Item dialog?
>>
>>In Silverlight you access to data via services. You create two projects and in one of them (SL.Web) you add your L2S, L2E or whatever creating a WCF service. From the SL project you instantiate and make asynch calls to your service.
>>Cetin
>
>So you create a WCF or Web Service in the .Web project? Or create a seperate project with the service and add a reference in the .Web project?
>
>And, would you create a service specific to the data, or a more generalized service that can access any data?

Install RIA services and use business app. template and it would create the necessary projects for you. It is a separate project with the service and it is an interface. It is up to you how you would define and implement your interface methods. It even works well against data sources like VFP.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform