# Tuesday, 28 February 2006

All I can say is: Wow! Nick, you really did a great job!

For those that missed it, Nick effectively showed how the .NET Framework already supports all that is neccesary to make LINQ possible by implementing the SELECTion bit in his own namespace. Then, dazzled by switching to the packaged namespace without changing the code.

If you would like to grab the presentation and/or code examples, <<click here>>. You too will be able to write code like this one day:

    1 partial class Program {

    2   static void DemoCode() {

    3     DataContext dc = new DataContext(

    4       "server=(local);database=Northwind;Integrated Security=true");

    5 

    6     Table<Customer> customers = dc.GetTable<Customer>();

    7 

    8     var results = from customer in customers

    9             where customer.CustomerID.StartsWith("A")

   10             select customer;

   11 

   12     Show(results, "Results from DLinq Query");

   13   }

   14 }

   15 

   16 [Table(Name="Customers")]

   17 public class Customer {

   18   [Column(Id=true)]

   19   public string CustomerID;

   20 

   21   [Column]

   22   public string CompanyName;

   23 }

.NET | Developer | PADNUG | SQL
Tuesday, 28 February 2006 23:32:25 (Pacific Standard Time, UTC-08:00)  #    Comments [0]Tracked by:
"buy avodart" (online) [Trackback]
"buy azithromycin" (online) [Trackback]
"diet online pill" (online) [Trackback]
"phentermine pill" (on line) [Trackback]
"robots british tickets" (air online) [Trackback]