What are some good Entity Framework Alternatives [

2020-07-02 09:08发布

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

标签: c# sql orm
12条回答
地球回转人心会变
2楼-- · 2020-07-02 09:22

Take a look at:

查看更多
The star\"
3楼-- · 2020-07-02 09:22

Seconding what the others said, nHibernate. Plus I found this link re: full text search and nHibernate.

查看更多
Animai°情兽
4楼-- · 2020-07-02 09:23

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.

查看更多
我只想做你的唯一
5楼-- · 2020-07-02 09:26

Mindscape LightSpeed is an o/r mapper for .NET that supports full text search (via Lucene but extensible so you could add your own).

It also supports LINQ, has a Visual Studio integrated designer with full schema round tripping so you can work model-first or database-first - whichever takes your fancy :-)

There is also a free version that you can use to decide if it is right for you.

I hope that helps.

查看更多
地球回转人心会变
6楼-- · 2020-07-02 09:27

You might look CodeFluent Entities but you need to understand that it does not internally rely on any ORM or third party tool.

Entity Framework is an ORM whereas CodeFluent Entities is a full model-first software factory. It uses a natural and visual modeling approach (like Entity Framework and integrated into Visual Studio) and can generate database scripts, object oriented data layer - code (C#, VB), web services and even UIs components.

查看更多
Deceive 欺骗
7楼-- · 2020-07-02 09:31

I'm a fan of SubSonic by Rob Conery. It is (was) simple and easy to set up and use.

查看更多
登录 后发表回答