The template is found here:
LLBLGen Pro v3.5\Frameworks\Entity Framework\Templates\V4\C#\pocoHelperClasses.lpt
If it is included in the SD.EntityFramework.v5 template binding it does not produce a set of POCO helper classes as I expected it to.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
namespace <%=_executingGenerator.RootNamespaceToUse%>
{
public class FixupCollection<T> : ObservableCollection<T>
{
protected override void ClearItems()
{
new List<T>(this).ForEach(t => Remove(t));
}
protected override void InsertItem(int index, T item)
{
if (!this.Contains(item))
{
base.InsertItem(index, item);
}
}
}
}
The pocoTypedViewClass.lpt and pocoValueTypeClass.lpt templates in the same location have code which looks like it would produce the correct classes for typed views and value types.
I've attached a screenshot of the configured preset - I created a copy of the existing SD.EntityFramework.v5 preset and added the template and folder tasks. Code generation works fine, except for the HelperClasses which just produces a single output file called:
[elementName].cs.
Please could someone confirm if the template is correct or not. Thank you.