Apr 27, 2005 02:49 PM|adefwebserver|LINK
Rafim, Would it be possible to write a provider for the new DAAB rather than an entirely new DAAB? This way it would work with the plans for the DAL II project.
We would have code like this:
Dim db As Database = DatabaseFactory.CreateDatabase()
This would see that the DAAB is configured for "PostgreSQL" in the dataConfig.config file and connect to it then:
Public Function GetContacts(ByVal ModuleId As Integer) As ArrayList
This would run the stored procedure. This way you would not have to create a separate data provider for each module you want to support. You just write one "concrete provider".
Please email me directly at webmaster at adefwebserver.com to discuss this.
Congratulations on your success. Thanks!