David Smith

David Smith

  • NA
  • 2k
  • 0

Sql Server View to Generic List

Dec 15 2015 3:18 AM

I have a view in in SQL Server to Generic List.


viewGetAllColorNames

How do I write linq to get data from the view above call get "viewGetAllColorNames".


The viewGetAllColorNames sql statement is simply.


SELECT ID , ColorName , ColorNumber
FROM colorTable

Answers (6)