I finally managed to get my C# application running with the SQLite database and LINQ.
However, there are requests that are very long because they return a grid where each column must be calculated individually, and this crashes with "stack overflow error". These queries run fast on a SQL Server database -- and not at all with SQLite. How can I get these queries to run? Etienne