Hi Friends, I am desigining the Architecture (defining classes) for my ASP.NET application. And I need some guidance!
here is my design -------------------------------------------------------- I have a class, say Employee/User, and i want to save the data in this class into a database. I will be using the MODIFIED Data Access Application Block (DAAB), to save the data (like Firstname, Lastname ...etc) (the modified DAAB, uses OLEDB instead on SQLClient) Now i want to create an intermediate class (between the Employee & DAAB). This intermediate class would, have the Database SPECIFIC sql, and would pass this specific sql , to DAAB, which then executes the SQL. By Database SPECIFIC, i mean, SQL for Oracle database, SQL for SQL Server database, SQL for DB2 etc.... So I my have 3 intermediate classes, one for each database. And the Employee class will call the appropriate class, based upon the configuration in the web.config. ------------------------------------------------------ (I hope i was able to explain my design) But i do not like this design, as i have to create seperate classes for the same functionality. Can you please suggest a better design!!! Any help will be greatly appreciated!! Many Thanks, Mohit --- You are currently subscribed to dotnet as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] --------- Administrated by 15 Seconds : http://www.15Seconds.com List Archives/Search : http://local.15Seconds.com/search Subscription Information : http://www.15seconds.com/listserv.htm Advertising Information: http://www.internet.com/mediakit/
