Articles by Tag #entityframework

Browse our collection of articles on various topics related to IT technologies. Dive in and explore something new!

C# | Using Entity Framework with PostgreSQL Database

Note You can check other posts on my personal website: https://hbolajraf.net ...

Learn More 56 0Jul 23 '24

C# | Best Practices for Pagination using EF Core 8

Pagination is a crucial aspect of application development, especially when dealing with large...

Learn More 9 2Jul 23 '24

Entity Framework in .net core 6.0 - Code first and Database first approach

Using Entity framework we achieve database connectivity. ORM (Object Relational Mapping) To...

Learn More 8 2Aug 12 '24

Check Pagination in .NET: With and Without Entity Framework

Pagination refers to the process of dividing a large dataset into smaller, manageable chunks, which...

Learn More 6 2Oct 17 '24

Entity Framework Core Tutorial:Introduction to Entity Framework Core

In this article, we will explore Entity Framework Core, tracing its evolution from EF6 to EF Core,...

Learn More 5 0Sep 6 '24

The Differences Between EntityFramework .Add and .AddAsync

Introduction Entity Framework is a popular Object-Relational Mapper (ORM) for .NET, which...

Learn More 4 1Jul 3 '24

C# | Entity Framework Generic Repository with SOLID Design Pattern

Note You can check other posts on my personal website: https://hbolajraf.net ...

Learn More 3 0Jul 23 '24

Dapper On Steroids: SqlKata

Dapper is a lightweight, high-performance ORM for .NET. It is widely used because of its simplicity...

Learn More 3 0Jan 25

Entity Framework Core Code First

Entity Framework Core: Code-First Approach and CRUD Operations Entity Framework (EF) Core...

Learn More 2 0Jan 12

ReadOnly DbContext with Entity Framework

Using a read-only DbContext in Entity Framework (EF) can provide several benefits, especially when...

Learn More 2 0Sep 6 '24

Keep Your Database In Sync With Application: Fluent Migrator

In this post, we continue to explore ways to free your application from being tightly bound to the...

Learn More 2 0Jan 26

The Hidden Performance Pitfalls of EF Core LINQ Queries

The Good Part Entity Framework Core (EF Core) is a popular Object-Relational Mapper (ORM)...

Learn More 1 2May 27

Custom NET8 Entity Framework Core Generic Repository

The .NET 8-EFCore-GenericRepository on GitHub is a comprehensive library designed to simplify...

Learn More 1 1Nov 12 '24

Entity Framework Core with Scalar Functions

In this tutorial, I've explained how to migrate and call scalar functions from Entity Framework...

Learn More 1 0Jul 21 '24

MySQL with EF Core 9 in ABP: Avoiding Translation Issues

🛠 Liked this post? I now share all my content on Substack — real-world .NET, AI, and scalable...

Learn More 1 0Jan 31

EF Core 6 - This SqlTransaction has completed; it is no longer usable.

Intro This post is about the System.InvalidOperationException: This SqlTransaction has...

Learn More 0 0Nov 13 '24

EF+SQL Server-generated query: how to add query hints?

I am looking for way to add hints for joins. Our app uses EF, I have found one query which executes 1...

Learn More 0 0Apr 3

5 EF Core Features You Need To Know

Okay, let's be honest. We all have a million things on our plates, and diving deep into every nook...

Learn More 0 1Aug 12 '24

Run ef-core in a single file!

I just like this so much! Experimenting with ef-core just got so much simpler. With a simple script...

Learn More 0 0Jun 26

Entity Framework 9 - GroupBy throwing Exception

EF9 has a bug and gives an exception "The given key 'EmptyProjectionMember' was not present in the...

Learn More 0 0Feb 18

Prefer Empty Objects over Compiler tricks

Listen to the Compiler There are certain situations in C# where you have nullable...

Learn More 0 0Jul 20 '24

EF Core 6 - correct types halving the execution time!

I've built an application and, like any lazy dev out there, I focused on the business logic, the...

Learn More 0 0Nov 13 '24

🚀 EF Core vs Dapper Benchmark – Real .NET 10 Test Results

I ran a full BenchmarkDotNet suite comparing: EF Core (Tracked ✅ / NoTracking ❌) Dapper (Raw SQL,...

Learn More 0 0Apr 21

[KOSD] Multiple Parallel Operations in Entity Framework Core (.NET 8)

In a .NET Web API project, when we have to perform data processing tasks in the background, such as...

Learn More 0 0Sep 24 '24

𝗦𝗶𝗺𝗽𝗹𝗶𝗳𝘆𝗶𝗻𝗴 𝗘𝘅𝗽𝗲𝗻𝘀𝗲 𝗠𝗮𝗻𝗮𝗴𝗲𝗺𝗲𝗻𝘁: 𝗘𝗹𝗶𝗺𝗶𝗻𝗮𝘁𝗶𝗻𝗴 𝘁𝗵𝗲 𝗨𝗻𝗻𝗲𝗰𝗲𝘀𝘀𝗮𝗿𝘆 𝗘𝘅𝗽𝗲𝗻𝘀𝗲𝗖𝗮𝘁𝗲𝗴𝗼𝗿𝘆 𝗠𝗼𝗱𝗲𝗹

1️⃣ 𝗜𝗻𝗶𝘁𝗶𝗮𝗹 𝗗𝗲𝘀𝗶𝗴𝗻 𝗜𝘀𝘀𝘂𝗲: The ExpenseCategory model was used as a junction table, creating a...

Learn More 0 2Mar 7

Link Many To Many entities with shadow join-table using Entity Framework Core

It is very common on applications to have entities that are related under Many to Many relationship...

Learn More 0 0Oct 6 '24

Code First Approach with Entity Framework.

1) To begin with the Code First Approach we need the below Nuget packages in our...

Learn More 0 0Oct 29 '24

Implementing Domain-Driven Design with C# and Entity Framework

Implementing Domain-Driven Design with C# and Entity Framework When building complex...

Learn More 0 0Jun 7

Running Entity Framework Core Migrations with Optimizely CMS 12

So you've added your new Entity Framework DbContext to the Startup ConfigureServices method,...

Learn More 0 0Oct 9 '24

C# | Entity Framework Issues and Troubleshooting

Note You can check other posts on my personal website: https://hbolajraf.net Entity...

Learn More 0 0Jul 23 '24