Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some good Entity Framework Alternatives [closed]

Tags:

c#

sql

orm

I am using the Entity Framework now and constantly having to write inline sql because Entity framework does not support full text search and other features. Is there a ORM out there that has many features that supports advanced queries? I feel if I am going to sometimes write inline sql I might as well do all of it in inline sql. Any help here

like image 232
Luke101 Avatar asked Dec 03 '09 17:12

Luke101


People also ask

Is Dapper better than Entity Framework?

Dapper is literally much faster than Entity Framework Core considering the fact that there are no bells and whistles in Dapper. It is a straight forward Micro ORM that has minimal features as well. It is always up to the developer to choose between these 2 Awesome Data Access Technologies.

What are the three types of Entity Framework?

There are three approaches to model your entities in Entity Framework: Code First, Model First, and Database First. This article discusses all these three approaches and their pros and cons.

Which is better Entity Framework or ADO Net?

The performance of ADO.Net is better than entity framework because ADO.Net is directly connected to the data source due to that it gives better performance than entity framework, whereas the performance of entity framework is less as compared to the ADO.Net as entity translate the LINQ queries to SQL first and then ...


3 Answers

NHibernate is one of the bigger OR/M alternatives and Open Source that I like. It is can do some pretty "advanced" things but has a steep learning curve.

like image 197
Michael Gattuso Avatar answered Nov 11 '22 11:11

Michael Gattuso


I feel if I am going to sometimes write inline sql I might as well do all of it in inline sql

Seriously? When using any ORM, you're always going to hit situations where it is better, cleaner, or more performant, to use SQL or call a stored proc. You shouldn't just blindly trust it do absolutely everything for you in all situations.

like image 42
LJW Avatar answered Nov 11 '22 12:11

LJW


Take a look at:

  • LINQ queries in DataObjects.Net. If you're interesting in most complex parts, start from the tail.
  • Advanced LINQ in DataObjects.Net. Some underlying SQL queries are shown there.
like image 37
Alex Yakunin Avatar answered Nov 11 '22 10:11

Alex Yakunin