I am exploring ASP.Net and in the up comming months I will be designing appliations with it (SQL Server 2000 back end). The applications will be for intranet use only. Staff will not be able to access them outside the office.
The help files and tutorials say that with ADO.Net the system creates an instance of the table which is stored in memory. From this table code is generated that can select, insert, update and delete from the table. The table is then sent from memory to the database (don't quite understand how that happens yet, so I understand that it just does.)
If my understanding of ADO.Net is correct so far would it be better to load individual tables in memory and then create relationships and allow the system to write S,I,U and D statements for me? Or would it better to write custom select statments and then write custom I, U and D statements. and execute against the database directly?
I understand that there are many factors that determine which method is best. I would concider the best method to be the one that takes the least amount of time to develop and the fastest access for users. (loading tables into memory).
Thank you for any advice on the subject.
Jason Meckley
Database Analyst
WITF
The help files and tutorials say that with ADO.Net the system creates an instance of the table which is stored in memory. From this table code is generated that can select, insert, update and delete from the table. The table is then sent from memory to the database (don't quite understand how that happens yet, so I understand that it just does.)
If my understanding of ADO.Net is correct so far would it be better to load individual tables in memory and then create relationships and allow the system to write S,I,U and D statements for me? Or would it better to write custom select statments and then write custom I, U and D statements. and execute against the database directly?
I understand that there are many factors that determine which method is best. I would concider the best method to be the one that takes the least amount of time to develop and the fastest access for users. (loading tables into memory).
Thank you for any advice on the subject.
Jason Meckley
Database Analyst
WITF