开发者

ASP.NET MVC + Oracle: samples and how-to

开发者 https://www.devze.com 2022-12-08 15:48 出处:网络
While reading NerdDinner, and browsing other examples on the internet regarding ASP.NET MVC with LINQ To SQL.

While reading NerdDinner, and browsing other examples on the internet regarding ASP.NET MVC with LINQ To SQL.

In my ASP.NET MVC project I have to connect to an Oracle database. The main goal of the application is to display, edit, and update data. I am uncertain if ASP.NET MVC can work with an Oracle database.

  • Has anyone ever done an ASP.NET MVC project with Oracle as the database?
  • Are there any articles with sample code that you'd recommend?
  • What are some easy ORMs or data access strategies that you'd recommend开发者_Python百科 an ASP.NET (webforms or MVC) project use to communicate to an Oracle database?


You can use Nhibernate to get access to your DB.


ASP.NET MVC can certainly support Oracle or any other data source behind the scenes.

MVC is not tied to Linq to SQL in any way. It's just one convenient way (among many) to get data from a datasource into your models.

As Sly pointed out, NHibernate is one ORM framework that will work for you.

0

精彩评论

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