Entity Framework

How to use BETWEEN keyword in LINQ (Eentity-framework)

Posted on

To search between two date ranges in your LINQ for Entity Framework, you can use  Read the rest of this entry »

The specified cast from a materialized 'System.Int64' type to the 'System.Int32' type is not valid.

Posted on

We usually get this error when we use Raw SQL in EntityFrameWork, and try to stored returned values in List of your Custom Class. For Example: