asp.net mvc - different db provider without recompile my dll -
hi working on asp.net mvc app now. want put db logic mydbprovider.dll
the problem in design, how can change db provider name in web.config without recompile own dll ? use such .net providers (oracle,mssql,postrgree)
thanks , sorry bad english
as change web.config site's appdomain restart. unavoidable , happens in following scenarios:
- change of web.config
- change bin folder
- trigger of numrecompilesbeforeapprestart
what need able swap dal layers program interfaces. there interface implements correct methods want use , associated dal layer (mysql, sqlserver, oracle) implement methods
hopefully mean not bound specific implementation of dal
paul
Comments
Post a Comment