How to Use .NET Evens provided by EF Core
We have seen how queries are evaluated and entities are tracked by EF Core. All operations performed on tracked entities are performed on an in memory instance of entity. The…
We have seen how queries are evaluated and entities are tracked by EF Core. All operations performed on tracked entities are performed on an in memory instance of entity. The…
In one of the previous posts, we have seen the an approach which can be used to troubleshoot performance issues. In this article, let's try to understand how a query…
We have seen what is identity resolution and how it is used by EF core to track the entities in memory. AsNoTracking is very common option suggested to make querying…
In previous article, we have seen what a keyless entity means and how to declare a keyless entity. In this article, let's discuss about a related concept - identity resolution.…
Sometimes, we may need to declare EF core models which do not have primary keys. In this article, let's understand why such entities would be required and how to define…
In last article, we have some some basic tips which can be useful troubleshoot any issues in the applications which use .NET EF core. Now, let's have a look at…
Generally, applications using .NET and EF Core use LINQ statements to interact with underlying database. In this article, let's see some options which can be used to debugging those queries.…
In last few articles, we have seen how EF core can be used with .NET applications. We have seen the code first approach, where C# code was written and the…
In all previous articles, we have seen how we can start with C# code to define database entities and then how migrations can be applied to create the database. Let's…
In past few articles, we have seen how to use entity framework core for defining database entities using data annotations and using fluent API. We have mostly used very basic…
We have seen EF core supports multiple data providers. EF core can use variety of databases as its data store. In this article, we are going to demonstrate how in-memory…
Simple Logging is a new feature of Entity Framework Core and it was introduced in EF Core 5. As the name suggests, it is very simple to enable this type…