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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -