Click here to Skip to main content
15,894,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

Wishes of the day. I wanted to ask that Is there any way of caching the data to the system before saving it to a database server (asp.net,C#). I know that some sort of this can be performed by using LINQ, i.e, we can create a List<> type of the table schema, keep on adding the records to it and later on we can use tableobject.InsertAllOnSubmit(), but since, my application is adding tables dynamically, so I cant do that as I dont think there is any way of adding tables schemas at runtime to DBML in LINQ to SQL. I dont want any direct codes, I just want to know that can any such sort of thing be performed, and If yes, can anyone provide me with some useful hint or link.

Thanks and Regards
Anurag
Posted
Updated 1-Nov-10 21:02pm
v3

1 solution

Instead of using DBML .. you can try to create dataset with schema as you doing in database .... you knew that how db can create schema do some thing with dataset..
 
Share this answer
 
Comments
@nuraGGupta@ 2-Nov-10 5:00am    
oh yes, that can be a good option.Thanks for the suggestion.

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