why SELECT clause comes after FROM clause in LINQ?
why SELECT clause comes after FROM clause in LINQ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Hiten PandyaPosted Jan 30, 2018, 7:15 AM
So, from below example
var query = "from c in dbo.Customer
where c.Id=1
select c";
dbo.Customer is our dataSource and c is our one kind of local variable
or alias and then we apply the filter in the form of where clause and
in last we are fetching the result.
Suraj KumarPosted Jan 27, 2018, 12:07 AM