Have a short tutorial on how to query a Sql Server database
I downloaded LinqPad. Opened it and added a new db connection, but how do I actually query? Please give some example code.
For example, I have a table called 'Login'.
i wrote: 'from l in Login select l' but I get errors when executing this.
How do I actually query against my database? Do you have some sample code.
Thanks
4
votes
Lyall
shared this idea