Re: Mixing OO and DB
Date: Sat, 15 Mar 2008 20:59:05 +0100
Bob Badour wrote:
>> [...] If we are, for example, comparing a flat
>> file backend to a SQL database backend, we have a serious
>> mismatch if we want to address them with a single polymorphic
>Unless one buys Alphora's Dataphor. In that case, one codes in D, a
>relational programming language, and the product translates that into
>whatever approximation of the relational calculus the back-end will support.
Microsoft .NET provides something similar with LINQ.
Another approach is to write SQL backends, e.g. for ODBC. Microsoft also provides those. I can open a CSV file and perform SQL queries on it.
-- ReinierReceived on Sat Mar 15 2008 - 20:59:05 CET