Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is LINQ the 'VFP-inspired' addition to .NET?
Message
From
14/09/2005 20:13:45
 
 
To
14/09/2005 16:15:00
General information
Forum:
Windows
Category:
Computing in general
Miscellaneous
Thread ID:
01049627
Message ID:
01049703
Views:
14
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform