I upgraded llblgen from 3.5 to 4.0
When I use LLBLgen to run LLBLgen Pro Runtime framework
The QueryFactory class is different when you generate it with 3.5 and 4.0 (for .Net 4.5)
You can not build the DatabaseGeneric project because you have a missing reference.
Error is located in DatabaseGeneric/FactoryClasses/QueryFactory (Line +/- 40)
/// <summary>Creates a new DynamicQuery which wraps the specified TableValuedFunction call</summary>
/// <param name="toWrap">The table valued function call to wrap.</param>
/// <returns>toWrap wrapped in a DynamicQuery.</returns>
public DynamicQuery Create(TableValuedFunctionCall toWrap)
{
return this.Create().From(new TvfCallWrapper(toWrap)).Select(toWrap.GetFieldsAsArray().Select(f => this.Field(toWrap.Alias, f.Alias)).ToArray());
}
My questions are:
- Is this normal behaviour?
- Do I need to add a reference manualy every time i generate this DAL layer
- What is the missing reference btw and where can i find it