Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is best ORM with these requirements [closed]

Tags:

c#

.net

orm

I'm looking for a good ORM for an upcoming project.

The database will have around 1000 to 1200 tables, and it will be in Both SQL Server and Oracle, which will be used depending of customers enterprise needs. Also a few part of the project will work with WCF services. I want a designer or something like that. Good support of LINQ. Acceptable performance.

I have tried DataObjects.Net but it doesn't have any designer. We can't code all that tables nor use code generator. And I'm not sure if DataObjects.Net supports switching database. Also I'm familiar with EF4 but it can't support both databases together, and switching databases manually(modifying the edmx file) is such a pain in ... for maintenance job.

Thanks in advance.

Edit: Seems OpenAccess and LLBLGEN Pro have designer but I don't have experience with them.

like image 397
Salar Avatar asked Aug 08 '10 12:08

Salar


People also ask

What is Orm and how does it work?

What Is ORM? Web developers use object relational mappers or ORMs to create an abstraction layer, so that they can work with databases without modifying the object-oriented paradigm, which reduces the burden of adapting to a storage format’s database specifics. When it comes to hands-on management, SQL is higher than ORM.

Is Orm training required for all individuals?

It is required for all individuals (Civilian and Military) per OPNAVINST 3500.39C. NEW MOBILE APP!! This is by far the easist way to complete your ORM training requirements.

Do I need an ORM library for my project?

If you’re building a small project, installing an ORM library isn’t required. Using SQL statements to drive your application should be sufficient. An ORM is quite beneficial for medium- to large-scale projects that source data from hundreds of database tables.

What is the difference between Orm and SQL?

ORM and SQL are two tools available that web developers can use in database management. When comparing them, SQL has a higher hands-on management than ORM. Because ORM has a higher level of abstraction and more complexity than SQL, less hands-on management is required; this makes data management more efficient.


2 Answers

I would still vote for Entity Framework v4 - EF4.

After all:

  • you can have multiple EDMX files, no problem - one for SQL Server, one for Oracle

  • you could put those into their own class library, and then load or, or the other, or both, if needed, at runtime (e.g. by using the Managed Extensibility Framework or something of your own)

  • you can easily target those EDMX files at databases using connection strings - really not hard at all

like image 194
marc_s Avatar answered Oct 27 '22 05:10

marc_s


OpenAccess can also do the job for you. You could use the multiple .rlinq files and assembly-per-database approach as suggested with Entity Framework. The benefit I see for you would be the support you will get from Telerik as there is quite a chance for you to hit a rock or two while developing a solution of such proportions.

like image 37
Zoki Avatar answered Oct 27 '22 05:10

Zoki