Skip to main navigation Skip to search Skip to main content

Performance Analysis of .NET Based Object-Relational Mapping Frameworks

  • Silesian University of Technology

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

5 Citations (Scopus)

Abstract

Object-relational mapping is a technology that connects relationships with object-oriented entities, which aims to eliminate duplicate layers together with costs of maintenance and any errors arising from their existence. A lot of tools and technologies were designed in order to support and implement idea of object-relational mapping. In this paper we present the performance comparison of two most common object-relational mapping interfaces for .NET framework: Entity Framework and NHibernate. In the .NET developers community, there is a lot of discussion today about the similarities and differences of the both technologies. To address this issue, we compared the features and performance of both tools. We analysed the performance of Entity Framework and NHibernate for two different databases (MS SQL Server and PostgreSQL), different query languages (lambda expressions and LINQ for Entity Framework and HQL and Critera API for NHibernate) and compared the results with the standard SqlClient queries. The results show that there is no significant difference between these both tools and we proved that common opinion that NHibernate performs better than Entity Framework is incorrect.

Original languageEnglish
Title of host publicationBeyond Databases, Architectures and Structures - 10th International Conference, BDAS 2014, Proceedings
PublisherSpringer Verlag
Pages40-49
Number of pages10
ISBN (Print)9783319069319
DOIs
Publication statusPublished - 2014

Publication series

NameCommunications in Computer and Information Science
Volume424
ISSN (Print)1865-0929

Keywords

  • .NET framework
  • Entity Framework
  • MS SQL Server
  • NHibernate
  • ORM
  • Object-relational mapping
  • PostgreSQL
  • performance analysis

ASJC Scopus subject areas

  • General Computer Science
  • General Mathematics

Fingerprint

Dive into the research topics of 'Performance Analysis of .NET Based Object-Relational Mapping Frameworks'. Together they form a unique fingerprint.

Cite this