Is Linq to SQL still a viable choice for application development?

I read about .NET stuff again after a brief (and sometimes ongoing) time with Ruby on Rails. I am wondering if LINQ is still the choice when choosing ORM for new applications or if I have to learn something, like NHibernate, which seems to be still strong. I know that Linq was mainly included in the Entity Framework, but when I tried EF (it was recently), I found it too heavy and too “mouse-driven” (ie I played a lot with the designer). I watched a few short screencasts on NHibernate, and I like the sharing of concerns that it provides, as well as the idea that your model might be clean.

The Linq syntax is pretty good, though, but it's not a true ORM, and I don't want to look at learning something that is mostly deprecated when I can find out something that is being used or will be used (EF and / or NHibernate, for example).

So, Linq is still something that should be considered used in the application (let's say something with moderate complexity, and not a trivial application, but not a huge undertaking, as complicated as a web application, for example, 37Signal Highrise), or there is is there anything better worth paying attention to?

+3
source share
5 answers

LINQ (Language Integrated Query) Linq-to-SQL SQL Server (ORM).

LINQ - - , - .

Linq-to-SQL , Microsoft . .NET 4.0 , .

, , , 10 , Linq-to-SQL , - , SQL Server .

, , , 10 , , - ADO.NET Entity Framework Linq-to-Entities. , Linq-to-SQL - .

- , , 2, 3, 5 - : -)

+4

Linq - ORM, Linq . , , Linq, .

LinqToSql - ORM, . ( ) , SQL Server. ORM, , , .

EntityFramework ORM. LinqToSql, , . V1 , (V4), Visual Studio 2010.

LinqToSql, EntityFramework , ORM. , , , "" .

NHibernate , Microsoft ORM, , " ". ActiveRecord, Microsoft ORM, NHibernate Castle ActiveRecord.

ORM Linq.

. - , , ORM. , , LinqToSql, , , NHibernate , LinqToSql, , ORM , ORM.

+5

, StackOverflow (-) LINQ to SQL, , . WPF ASP.NET, , . , SQL.

+3

, L2S , .NET. LINQ, .

+1

LINQ to SQL is a convenient option for developers who need to implement a not very difficult level of access to the database (and this is a fairly common situation).

Our company is constantly improving the implementation of LINQ to SQL tecnology for Oracle, MySQL, PostgreSQL and SQLite databases .

0
source

Source: https://habr.com/ru/post/1719165/


All Articles