Compiled Queries?

Jul 18, 2014 at 1:09 PM
I have a question that I'd like to open up to a larger group.

Currently, my business logic sits within my Services that DO NOT reference EF. However, I wanted to create compiled queries for some of my larger queries that I am performing within my services. Is this even possible with the current pattern of design?

Would I create another project called "CompiledQueries" that is EF specific and call those compiled queries from my services. Is there a more elegant solution?

Jul 20, 2014 at 7:01 PM
You can create this in a separate project or from what I've seen other teams do create a folder Queries e.g. Northwind.Entitites/Queries and add them there.
Marked as answer by lelong37 on 7/20/2014 at 12:01 PM