Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • NO LUCK : ERROR ---Unable to cast the type 'StoredProcedureEF_MVC.tbl_users' to type 'StoredProcedureEF_MVC.Models.User'. LINQ to Entities only supports casting EDM primitive or enumeration types. Commented Mar 20, 2015 at 7:00
  • And have you tried changing conn.tbl_users to conn.User or conn.Users? Does that work? Commented Mar 20, 2015 at 7:01