As explaine in the ICQLinqExecutionContext doc: This interface is reserved for CQLinq implementation usage and is not intended to be used in your code.
But as you noticed, with just a little bit of rewritten, you can access 100% of CQLinq features (like using codeBase.Application.Methods
intead of just Methods
)
Also by reading the CQLinq syntax doc about predefined domain, you can see that a domain like Methods
in CQLinq gets translated to context.CodeBase.Methods
at CQLinq post-compilation time. What you are really missing is not the interface ICQLinqExecutionContext
but CQLinq post-compilation time that is not available in C#.