Many thanks for that, I have replaced
EntityFieldsCollection with FieldList<FieldElement>
EntityFieldDefinition with FieldElement
EntityRelationship with FieldRelationship
EntityRelationshipCollection with FieldRelationshipCollection
and that has removed all but one of my compile errors
The only error that remains is
"The type or namespace name "Entities" does not exist in namespace 'SD.LLBLGen.Pro.ApplicationCore' (are you missing an assembly or reference?)
In the file lptTemplateDebugSourceInclude.cs file the error is highlighted as
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Data;
using SD.LLBLGen.Pro.GeneratorCore;
using SD.LLBLGen.Pro.ApplicationCore;
using SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData;
using SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks;
using SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Templates;
using SD.LLBLGen.Pro.ApplicationCore.EntityModel;
using SD.LLBLGen.Pro.ApplicationCore.EntityModel.TypedLists;
using SD.LLBLGen.Pro.ApplicationCore.TypedViews;
using SD.LLBLGen.Pro.ApplicationCore.StoredProcedureCalls;
using SD.LLBLGen.Pro.ApplicationCore.ProjectClasses;
using SD.LLBLGen.Pro.ApplicationCore.Mapping;
using SD.LLBLGen.Pro.ApplicationCore.MetaData;
using SD.LLBLGen.Pro.Core;
using SD.LLBLGen.Pro.Core.GeneralDataStructures;
using SD.LLBLGen.Pro.DBDriverCore;
using SD.LLBLGen.Pro.LptParser;
using System.Diagnostics;
using SD.LLBLGen.Pro.ApplicationCore.Entities;
public class Blue_PrefectPathElementCollectionTemplate : ITemplateClass {
private StreamWriter __outputWriter;
private IGenerator _executingGenerator;
private Dictionary<string, TaskParameter> _parameters;
private object _activeObject;
public Blue_PrefectPathElementCollectionTemplate() {
You can see that the last "using" statement lists SD.LLBLGen.Pro.ApplicationCore.Entities which needs to be removed because the EntityModel namespace is already added a few lines earlier
I dont see how this line of code was added to the file and hence why I am getting the error.. There are no "using" statements in my template code... How do I get rid of it and hence the error
I hope you understand what I mean and how can I fix this?
Many thanks