> It would be interesting if we could make it possible to do a > translation between D and SQL, similar to how LINQ is > implemented internally, but preferably have it done at > compile-time rather than at runtime. Have you seen Hibernated? https://github.com/buggins/hibernated