X hits on this document

126 views

0 shares

0 downloads

0 comments

40 / 42

DLINQ and XLINQ Integrated Data Access

 public class Customer {

   public int Id;

   public string Name;

   public string Phone;

   …

 }

 Table<Customer> customers = …;

 foreach(c in customers.Where(City == “London”)) {

   Console.WriteLine(“Name: {0} Phone: {1}”, c.Name, c.Phone);

}

Classes describe data

Tables are real objects

Query is natural part of the language

Results are strongly typed

Document info
Document views126
Page views126
Page last viewedWed Jan 18 12:18:50 UTC 2017
Pages42
Paragraphs1204
Words2919

Comments