开发者

NHibernate Multiple Database Schema Reference to App_Data

开发者 https://www.devze.com 2023-02-05 03:29 出处:网络
Is it possible to do Multiple database connection where the main database is attached to SQL Server instance eg: (local) and another database is located in ASP.NET A开发者_如何学JAVApp_Data or it just

Is it possible to do Multiple database connection where the main database is attached to SQL Server instance eg: (local) and another database is located in ASP.NET A开发者_如何学JAVApp_Data or it just a silly idea?


Technically speaking, that's possible. Note that, by using a database in App_Data, there is a great chance that you will have to struggle with security-related errors when running your app on IIS in production environment.

If it's a silly idea or not, depends on the intended usage of that app. IMHO, if it's a demo site to be run on a laptop during a meeting, why not. There is already a discussion on this matter here.

0

精彩评论

暂无评论...
验证码 换一张
取 消