Skip to content

linq

sequence numbers in linq

Generating Sequence Numbers In LINQ Query

In this post, we’ll see how to generate sequence numbers along with the data that we need in LINQ C#.

Read More »Generating Sequence Numbers In LINQ Query
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

notranslated

why func delegate is not translated to sql

This post is a sequence for the previous article which shows why the Func delegate is not translated into the SQL statements.

Read More »why func delegate is not translated to sql

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#