Opened a v3.5 project in v4.0 and generated the code to the same location as the previously generated code. Custom code within TypedView was removed.
The v3.5 generated code in the TypedView class looked like this:
namespace MyNameSpace.TypedViewClasses
{
public partial class MyViewTypedView : TypedViewBase<MyViewRow>, ITypedView
{
....
internal DataColumn MyLastColumn
{
....
}
// __LLBLGENPRO_USER_CODE_REGION_START AdditionalColumnProperties
// __LLBLGENPRO_USER_CODE_REGION_END
#endregion
#region Custom Typed View code
// __LLBLGENPRO_USER_CODE_REGION_START CustomTypedViewCode
public bool MyCustomMethod()
{
....
}
// __LLBLGENPRO_USER_CODE_REGION_END
#endregion
When generating the code with the same project in v4.0, the definition of MyCustomMethod() was completely removed:
#region Custom Typed View code
// __LLBLGENPRO_USER_CODE_REGION_START CustomTypedViewCode
// __LLBLGENPRO_USER_CODE_REGION_END
#endregion
How do I get LLBLGen v4.0 to preserve all the custom code in my v3.5 generated code?