Category Archives: ORM

Why is EF Core so blazing fast than its Predesessor?

It’s worth noting that EF Core is a brand new shiny tool from Microsoft that has been built from the ground up. It is lightweight, extensible and it comes with a plethora of new features when compared with EF 6.x. … Continue reading

Posted in ORM | Comments Off on Why is EF Core so blazing fast than its Predesessor?

EF 6.x or EF Core? I am confused!!!

If you are an enterprise developer or you are building a Line of Business Application and targeting the full .NET Framework and who also cares about visual tooling, EF 6.x is the way to go. It also means you can do … Continue reading

Posted in ORM | Comments Off on EF 6.x or EF Core? I am confused!!!

Can’t get too far without Transactions support. Guess what? EF Core’s got your Back!!

A transaction symbolizes a unit of work performed within a database management system against a database, and treated in a coherent and reliable way independent of other transactions. A transaction generally represents any change in database. If the transaction is … Continue reading

Posted in ORM | Comments Off on Can’t get too far without Transactions support. Guess what? EF Core’s got your Back!!

I don’t see Visual Tooling in EF Core. What are my options?

Folks, some of the cool features/workflows that you are used to using in EF 6.x and with some of the prior versions such as Entity First, Database First that provide visual tooling are a thing of the past in EF … Continue reading

Posted in ORM | Comments Off on I don’t see Visual Tooling in EF Core. What are my options?

What does Connection Resiliency offer when using EF Core!

Connection Resiliency comes handy when you have a failed database operation. This operation could be the result of moving a database from one server to another for the purposes of load balancing, thus causing the database to become unavailable for a … Continue reading

Posted in ORM | Comments Off on What does Connection Resiliency offer when using EF Core!

What does EF Core give me out of the box?

As you might know, EF Core is brand new and it has long ways to go before reaching parity with EF 6.x, although some of the features that were murky in EF 6.x will probably never be added to EF Core. That being … Continue reading

Posted in ORM | Comments Off on What does EF Core give me out of the box?

Implementing Cascade Delete behavior in EF Core

The definition of Cascade Delete is if a record in the parent table is deleted, the corresponding records in the child table will automatically be deleted. Now that we know what Cascade Delete is all about, let’s implement this behavior … Continue reading

Posted in ORM | Comments Off on Implementing Cascade Delete behavior in EF Core

Can I use Projections in EF Core…Absolutely!!

Before we drill into Projections, let’s find out what Projections really are: Projection(s) is a powerful feature of LINQ that enables you to perform query operations on a data source, collection etc. It shapes the results of the data being … Continue reading

Posted in ORM | Comments Off on Can I use Projections in EF Core…Absolutely!!

Using Migrations in EF Core

If you are an Entity Framework veteran who has worked extensively with EF 6.x and prior versions, then Migrations should come as no surprise to you! The good news is that as you transition from EF 6.x to EF Core, … Continue reading

Posted in ORM | Comments Off on Using Migrations in EF Core

Database First Workflow in EF Core

In EF 6.x, there are at least two options for you to scaffold your database to a model using the following: Visual Tooling using the EDMX designer Code First From Database option However, in EF Core, we don’t have the … Continue reading

Posted in ORM | Comments Off on Database First Workflow in EF Core