Basic Entity Framework(EF) Core with ASP.NET

R M Shahidul Islam Shahed
4 min readApr 30, 2023

Entity Framework Core is an open-source Object Relational Mapping (ORM) framework developed by Microsoft that enables .NET developers to work with databases using .NET objects. It allows developers to interact with databases using high-level programming concepts instead of writing SQL code manually. With Entity Framework Core, developers can create, read, update, and delete (CRUD) data from the database using C# or any .NET language. It supports various database providers such as Microsoft SQL Server, PostgreSQL, MySQL, SQLite, and others. It also provides features like change tracking, data validation, concurrency management, and lazy loading.

Entity Framework(EF) Core with ASP.NET

Why Entity Framework Core?

There are several reasons why you might choose to use Entity Framework Core in your C# projects:

  1. Simplified database access: Entity Framework Core provides a simplified way to access and interact with databases. This means that you can write less code, and focus more on the logic of your application.
  2. Object-relational mapping: Entity Framework Core provides a way to map database tables to C# objects, which makes it easier to work with data in your code. You can manipulate data as if it were a regular object, and Entity Framework Core handles the details of translating those changes to the database.

--

--

No responses yet