2 ms·
In C# where you have something similar with Linq it makes sense. The runtime translates Linq to expression trees and the Linq provider translates the expression
by scarface74 8y ago
In C# where you have something similar with Linq it makes sense. The runtime translates Linq to expression trees and the Linq provider translates the expression tree at runtime to a native query. That native query can be anything - sql, mongoquery, or can be an in memory collection, etc.
You can use the same strongly typed Linq expression with anything.
- smadge 8y agoI guess that’s true! Embedded domain specific languages could be useful to swap out your data layer or provide a unified interface for different data layers.