开发者

NHibernate Multiple Database Schema Reference to App_Data

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜