Skip to content

linq

replace ef code with dapper

Replacing existing entity framework code with Dapper

Developers choose Entity framework ORM (EF) for better productivity when accessing the database. But, when the product is built that went from bare bones to very complex and heavy data access then comes the performance.

Sometimes its the Entity framework that kills the performance so the choice when searching for a better ORM than Entity framework is Dapper.

In this post, I’ll walk you through how we can replace the existing entity framework code with dapper.

Read More »Replacing existing entity framework code with Dapper

Building dynamic LINQ queries using Expression Trees and Func

Filtering an item from a list of items is easy but if the item to filter is not known at compile time then filtering a list will be little complicated.

Read More »Building dynamic LINQ queries using Expression Trees and Func

get only specific types from list

Get only specific types from List in C#

This is a post to get the specific type of items from a mixed list of items. I have tried couple of solutions for the problem but it looks like there’s more elegant solution than my solution.

Read More »Get only specific types from List in C#