ORM, what standards can I choose?

Q: This question is about how I can choose or choose a convenient ORM for my web application. when launching a new web application What are the criteria by which I can consider a particular ORM better than the other for my project or case (web application)?

another part of my question: when I start any web application, I use three layers:

  • DB level (which contains connections and processing CRUD operations)
  • manager level (access to Layer data) class for each table on my db (loosely connected to the previous layer) contains CRUD operations for a specific table and other necessary operations.
  • interface layer.

and I use a Data Data object. Is it ORM (as a concept), or am I mistaken in understanding this concept.

note: I'm still new to this field and every day I learn more about web development. Please, I want clarifications and suggestions for this point.

Thanks in advance.

+3
source share
8 answers

As for ORM, it's all about taste. nhibernate and Entity framework are the most common.

+8
source

You will not find specific selection criteria - it is a matter of taste and preference, but you can find comparative characteristics here

+5
source

Devart LinqConnect ( -), Entity Framework . . LinqConnect , Oracle, MySQL, PostgreSQL, SQLite. Entity Framework.

+3

, @MikeAinOz, Entity Framework - , . โ€‹โ€‹ , :

http://layersample.codeplex.com/releases/view/47627

+1

: nhibernate EF, EF, , nhibernate ( linq), EF Code First - .

ORM ( EF nhibernate) , nhibernate, , nhibernate , linq2EF , nhibernate, , : , nhibernate hql , EF . EF Entity Functions, , , .

+1

, , (ex- [s]), ORM.

ORM , - Nhibernate ORM, SQL ex..

, LLBGen, dll, , .

ORM , ORM, ex..new , Hibernate, , , .net Fluent Nhibernate xml, .

ORM Hibernate, ROR , ...

+1

Microsoft ado.net
nhibernate.

+1

, , -, , .

NHibernate, MS Sql MySql. , , MYSQL, Nhibernate .

, , . , framework 4. , Entity Framework 4.0 Mysql (), Code First. Code First Development .

Ultimately, I think that they all do almost the same job, although if I started looking at ORM and wanted something simple, I could go with the Code First approach, as it seems very easy. BUT I have no experience with this. I just read about it.

Hope this helps.

+1
source

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


All Articles