Re: Mixing OO and DB

From: rpost <>
Date: Sat, 15 Mar 2008 20:59:05 +0100
Message-ID: <3ee8a$47dc2a89$839b4533$>

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
>> interface.
>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.

Received on Sat Mar 15 2008 - 20:59:05 CET

Original text of this message