DIP 50 - AST macros
dennis luehring
dl.soluz at gmx.net
Wed Nov 13 02:41:39 PST 2013
Am 13.11.2013 10:58, schrieb Regan Heath:
> Linq is often confused with LinqToSQL, the above was a description of what
> happens in the latter. If Person was an object representing a table from
> a SQL database, then calling 'where' on it would translate into an
> IQueryable<Person> object which when iterated upon using foreach would
> execute the SQL statement shown above and return the resulting rows as
> <someperson> objects one by one to the foreach body.
>
> Pure Linq is a DSL, an alternate syntax, which looks a lot like SQL, which
> can translate to SQL but is not limited to SQL. It could translate to any
> alternate database syntax, or simply access a container supporting the
> required operations.
linq allows construction AND querying of non table-like hierarchical
data, so its more an (basetypes|object)-hierarchy store/retrival system
which can "also" work with the lower just-tables-like world of sql results
More information about the Digitalmars-d
mailing list