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:

[Continued]

 

Leave a Reply

Your email address will not be published. Required fields are marked *