This is a problem in whose solution I have a great deal of interest.
I believe that once Mono starts supporting the (excellent) LINQ extensions, the solution to your problem will become much easier. I can imagine Mono's LINQ extensions directly mapping MySQL or PostgreSQL tables much like how the .NET LINQ extensions now work with tables in Microsoft SQL Server. When that starts to happen, porting projects and data models will become a breeze.
I never thought I would say this, but I have become a big fan of .NET and the functional programming capabilities of LINQ in C#. Not quite Haskell--but don't bet against Microsoft bringing LINQ much closer to Haskell by the time .NET 4.0 or .NET 5.0 is released.
Registered user # 441814
Last edited by Reisswolf; 2nd November 2008 at 06:16 PM.