By browsing on this website you are agreeing to our 'Terms & Conditions' and the 'Privacy Policy' in regards to your rights and personal data handling.
Transformers were removed and substituted by a server-side projection support. Methods like TransformWith are no longer available and simple Select should be used instead.
We encourage you to read our article that covers the projection functionality which can be found here.
Example
3.x
public class Orders_Total : AbstractTransformerCreationTask<Order>
{
public class Result
{
public double Total { get; set; }
}
public Orders_Total()
{
TransformResults = orders =>
from o in orders
select new
{
Total = o.Lines.Sum(l => l.PricePerUnit * l.Quantity)
};
}
}