In this Entity Framework Tutorials series, I am going to discuss Entity Framework with real-time examples Here in this Entity Framework Tutorials article series, I will start from the very basics and as we progress we will cover all the advanced features of Entity Framework.
Before .NET 3.5 as a developer, we often used to write ADO.NET code to perform CRUD operation with the underlying database. For this, we need to create a connection with the database, open the connection, and then create a DataSet to fetch or submit the data to the database, and convert the data from the DataSet to .NET objects or vice-versa to apply our business rules. Actually, this was a time consuming, cumbersome and error-prone process. Microsoft has provided a framework called “Entity Framework” to automate all these database related activities for our application if we provided the necessary details to the Entity Framework.
What is Entity Framework?
Entity Framework is an open-source object-relational mapping (ORM) Framework for .NET applications that enables .NET developers to work with relational data using domain-specific objects without focusing on the underlying database tables and columns where actually the data is stored. That means the Entity Framework eliminates the need for writing the data-access code that developers usually need to write.
Official Definition: “The Entity Framework is an object-relational mapper (O/RM) that enables .NET developers to work with a database using .NET objects. It eliminates the need for most of the data-access code that developers usually need to write.”
In this article series, I am going to discuss all the features of the entity framework 6.x and EF Core with real-time examples. We will discuss
- Database First Approach
- Model First Approach
- Code First Approach
These Entity Framework tutorials are design for beginners as well as professionals who want to learn Entity Framework step by step from very basics to the advanced concepts. This Entity Framework tutorial provides a hands-on approach to the subject with step-by-step program examples that will assist you to learn and put the acquired knowledge into practice.
0 comments:
Post a Comment
If you like this website, please share with your friends on Facebook, Twitter, LinkedIn.