![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, My problem is one of application design. I have some objects in my application which map to tables in database. I used C# and mssql but that's not important. The database is needed only for storing the results/objects at the end of the program. Another application will use the results stored in the database. I have 2 choices: every time I create or edit an object, I can store it in the database and then, the next time I need it, I can select it from the database. The second choice is not to store any object in the database until the end of the application, and keep all in memory. My question is: Which of the 2 choices is better? Depending of the amount of input data, my objects can get very big so if I use the objects, I will use a lot of memory. The reverse, store the object in the database after I complete its processing, and when needed, just select it from the database, is a lot more time consuming. |
![]() |
| Thread Tools | |
| Display Modes | |
| |