This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
hi, This is the first time , i am going to use this light speed framework . Actually iam working in silverlight with grid controls. i need to check the performance by connecting with the database.Can u people send some videos that how to bind the data in to the grid by using light speed framework.
thanks and regards , upendran P.V. |
|
|
LightSpeed requires the desktop framework, specifically ADO.NET, and therefore won't run in the Silverlight CLR. Sorry. |
|
|
Hi Ivan, Thank u for the reply. I am going to use ORM in ordinary Web service for a ASP .net. can u send some sample code for this by using light speed framework. Thanks and regars , Upendran P. V. |
|
|
Hi! Here is a sample for using LightSpeed with WCF. The service serves the auto-generated DTOs, however you could use your own custom DTOs if needed. Hopefully this helps you get an idea about what you need to do. If you are looking at using this within an ASMX based web service, you can use the same basic approach as with this sample, you will probaly just want to look at scoping your UnitOfWork within the request (in the WCF example we can use an OperationContext extension to achieve the same result). Binding the DTOs on the other side of the service call will be just standard databinding code for your client application as these are plain .NET objects.
Jeremy |
|