Latest posts on tagged on "Linq"

Perform random sort a list in c#

12 January 2017

In this article, I will show how to perform random sort list c# .Net 3.5 framework has Linq,it is a very good feature, it allows us to perform complex operations with efficiency .

Convert LINQ Query results to List Object

1 September 2016

You can convert the entity object to list Object by looping the LINQ Query results and adding the object to the list.

Group by with Where clause in Linq c#

24 August 2016

This following example Query will clear how to filter records using where clause and group by from a set of records.

[solved]The model item passed into the dictionary is of type 'System.Data.Entity.Infrastructure.DbQuery`1[<> f__AnonymousType2`2[System.String,System.String]]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1'

7 June 2016

When I was trying to run the application I had faced this problem. I resolved by selecting the complete object that result will consists of complete customer objects. But before I selected a subset of the customer objects, just two members.

Page 1 of 3