Best way to access a SQL Server database using C# .Net

后端 未结 5 1415
隐瞒了意图╮
隐瞒了意图╮ 2020-12-15 07:13

I am new to .NET and have heard about several different ways of querying a SQL Server databse such as ADO.NET and the entity framework.

Can anyone give me some advis

5条回答
  •  醉酒成梦
    2020-12-15 07:46

    NHibernate is the way to go. See http://nhforge.org and http://sf.net/projects/nhibernate for more information.

    The main difference between Entity Framework and NHibernate is that Entity Framework is only for Microsoft SQL Server (Oracle is kind of supported, but support is not ideal). NHibernate supports many many many databases.

提交回复
热议问题