SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 165 | Next

Scott Klein

"Professional LINQ"

A sort
is applied, ordering the results by last name, sorted in ascending order.
When this query is run, the following results are returned (a portion of the data has been left out for
space considerations):
Sandeep Kaliyath Production Technician - WC40
Sharon Salavaria Design Engineer
Sheela Word Purchasing Manager
Shu Ito Sales Representative
Sootha Charncherngkha Quality Assurance Technician
Stephen Jiang North American Sales Manager
Stuart Macrae Janitor
Syed Abbas Pacific Sales Manager
Sylvester Valdez Production Technician - WC20
While this example is fairly simple, it does provide a great foundation. You can modify it by applying
many of the operators discussed in this chapter.
Let??™s modify this example a little bit. Add a second button to the form, name it cmdMethodSyntax, and
place the following code in the Click() event of that button.
DataContext context = new DataContext("Initial @@ta
Catalog=AdventureWorks;Integrated Security=sspi");
Table contact = context.GetTable();
Table employee = context.


Pages:
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6