Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is LINQ the 'VFP-inspired' addition to .NET?
Message
De
14/09/2005 20:13:45
 
 
À
14/09/2005 16:15:00
Information générale
Forum:
Windows
Catégorie:
Informatique en général
Divers
Thread ID:
01049627
Message ID:
01049703
Vues:
13
Jim,

You can smell something about it, but is also some of ObjectSpaces concept inside this project as well.

Just got out of Anders Heljberg session and this piece of code reminded me of the way we define variables in foxpro
//
var q =
from c in db.Customers
where c.city == 'London'
Select(c => c.CompanyName);

ObjectDumper.WriteLine(q)
//
"Q" would hold a list of all the company names in London.

there's no definition of the data type of the variable it comes from the result of the select statement.

In other aspects, be basically put a Database in a class and each table of a db was a class too, so when you instantiate the class you got objects that, in pseudo code, would look something like db.table.field .

It looks pretty interesting.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform