This is a migrated thread and some comments may be shown as answers.

[Solved] LinqToSQL Data Source with Temporary Data

1 Answer 92 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 09 Dec 2009, 11:51 PM
I would like to use the sds:SessionDataSource that is in this demo but have it work for LinqToSQL.  What is the recommended way of creating temporary data that doesnt persist back to the database when doing LinqToSQL CRUD?  

Basically, I want to create a data structure that can reset itself every session so my users can fully test a web app iteratively while focusing on and approving a fully working UI before I refine the data model.  Any suggestion is appreciated.  :)

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 15 Dec 2009, 09:47 AM
Hello Marc,

Generally SessionDataSource is created with the idea to only demonstrate RadControls functionality and it is not intended to be used in public applications. Thus I will not suggest you to use it in your application.

In the example that you are pointing you can easily replace LinqDataSource with SessionDataSource. One thing that you must have in mind when using SessionDataSource is that syntaxis for the commands are similar to the one used in AccessDataSource.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Marc
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Share this question
or