I wrote an application in C#, which stores its data in a SQL Server CE database (v3.5). I would like to use these data from a Delphi application. I found information about how to access an SDF file from Delphi code, so this part is clean and simple.
Unfortunately, there are cases when the Delphi application should be able to create the SDF file first. I guess I need to write an ORM DLL in C# (the DataContext subclass) and use it from both applications (from Delphi through COM Interop), but I'm not sure this is a good idea. Any advice would be greatly appreciated.
(I have Delphi 6 and XE2.)