Information générale
Catégorie:
Informatique en général
Thanks for that Juan.
cheers
>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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement