Research
Research
*
Corresponding author: [email protected]
Received: October 30, 2023 Accepted: December 27, 2023 Published: January 10, 2024
Abstract:
This paper aims to compare the performance of ADO.NET and Entity Framework in various database operations,
including insert, update, delete, and retrieve. The study investigates the execution times of these operations and
analyzes the findings to determine the efficiency of each technology.
The research findings reveal that ADO.NET consistently outperforms Entity Framework in terms of execution
time for insert, update, and delete operations. ADO.NET demonstrates faster execution times, indicating its
effectiveness and efficiency in handling these database tasks. However, in the retrieve operation, Entity
Framework unexpectedly demonstrates superior performance, suggesting its efficacy in retrieving data.
These results emphasize the importance of considering the specific requirements and performance characteristics
of ADO.NET and Entity Framework when choosing the appropriate technology for different database tasks.
Organizations and developers need to weigh the advantages and disadvantages of each technology based on their
specific needs.
Further research and analysis are necessary to delve deeper into the underlying factors contributing to the
performance differences observed in this study. This research provides valuable insights into the performance
comparison of ADO.NET and Entity Framework and serves as a foundation for future investigations in this area,
facilitating informed decision-making in database technology selection.
Cite this article as: A. A. Abdasameea, T. S. Daduch, H. M. Isbeeqah, H. M. Shakeeb, “Comparative Analysis
of ADO.NET and Entity Framework Performance Evaluation in Database Operations,” African Journal of
Advanced Pure and Applied Sciences (AJAPAS), vol. 3, no. 1, pp. 11–15, January-March 2024.
Copyright: © 2023 by the authors. Licensee
Publisher’s Note: African Academy of Advanced
African Journal of Advanced Pure and
Studies – AAAS stays neutral with regard to
Applied Sciences (AJAPAS), Libya. This
jurisdictional claims in published maps and
article is an open access article distributed under the terms
institutional affiliations.
and conditions of the Creative Commons Attribution (CC
BY) license (https://creativecommons.org/licenses/by/4.0/).
In this paper, as far as ADO.NET is concerned, the connected architecture was used for the development of the
application
Entity Framework facilitates the creation of a data access layer by allowing data access and describing the data as
a conceptual model, that is, a set of entities and relationships. The application can handle basic CRUD (create,
read, update, and delete) actions as well as one-to-one, one-to-many, and many-to-many relationships between
entities. [1][5]
Entity Framework supports three primary approaches to building the Entity Data Model (EDM).
• The Database First approach is used when working with an existing database schema. In this approach,
the EDM is generated from the database schema, which provides a convenient way to build applications
that rely on an existing database. [1][5]
• On the other hand, the Code First approach involves writing domain models as classes, which form the
basis of the EDM. The database schema is then generated from these models. This approach is ideal for
applications that are highly domain-centric and where the domain models are created first, with the
database serving as a persistence mechanism. [1][5]
• Finally, the Model First approach is similar to Code First, but with the added benefit of a visual EDM
designer. The EDM is visually designed by using this tool, and the database schema and classes are
generated based on the conceptual model. This approach also provides SQL statements needed to create
the database, which can be used to connect the application to the database.[1][5]
In this paper, as far as Database First is concerned, the Database First approach was used for the development of
the application
3. Application
The application was used in the College of Education Alsmarya Islamic University. It was created with Visual
Studio 2015 with C# programming language as an integrated development environment (IDE) and Microsoft SQL
Server Management Studio 2017 for the database. The application's goal is to make it easier to work at the College
of Education by creating a study plan that takes into account the lack of conflict in the halls. The following are
the application's features:
● Access to the system is granted through the department heads, and each department head is only
authorized to interact with data pertaining to his department.
● Faculty member’s data can be added, viewed, modified, and deleted by the Head of Department.
● The system administrator is granted the following rights:
• Payment for new users
• See the complete department schedule.
• Add, change, or remove classroom data. Add, update, or delete classroom data using hall data.
Course information
• The department head is the only person who may add, show, alter, or delete lectures from the academic
schedule.
● When adding a lecture, it is confirmed that it is not being used form another department at the same time
● Print the academic timetable by department
● Print the academic schedule for the college
● Determine the hall's vacant times using its number.