I would like to create a CodeFluent Entities snippet with some linq query inside:
return BaseList.Where(cd => cd.StartDate <= DateTime.UtcNow && cd.EndDate > DateTime.UtcNow)
.OrderByDescending(cd => cd.Rate)
.FirstOrDefault();
After building the model I have a compilation error because I'm lacking some using:
using System;
using System.Linq;
in the generated file.
Is there a way to add them ?

The Business Object Model (BOM) Producer allows to define additional imports.
Namespace Importsproperty to, for example,System.Linq, MyCustomNamespaceThe producer will output these usings.