I just went in a manually removed the files from my project and everything worked fine.
Based on your response, I'm not sure if you understood my problem.
I'll redescribe my problem:
I removed two tables from the database: CompatibleApplication and ReceiptType.
I refreshed the catalog, and the CompatibleApplication and ReceiptType tables no longer showed up as entities in the LLBLGen project.
Then I regenerated the code. The old CompatibleApplication and ReceiptType classes were still in my C# project, so I removed them.
When I compile my C# project I get errors. Here is an example of one error in the PredicateFactory class:
The type or namespace name 'CompatibleApplicationFieldIndex' could not be found (are you missing a using directive or an assembly reference?)
Here is the PredicateFactory code that caused the error:
/// <summary>FieldCompareValuePredicate factory for CompatibleApplicationEntity.</summary>
public static FieldCompareValuePredicate CompareValue(CompatibleApplicationFieldIndex indexOfField, ComparisonOperator operatorToUse, object value)
{
return new FieldCompareValuePredicate(EntityFieldFactory.Create(indexOfField), null, operatorToUse, value);
}
Why does the PredicateFactory class still contain this code even though I am no longer using CompatibleApplicationEntity? I thought that LLBLGen would've regenerated this class, but it didn't.
I suppose I could take the code out manually, but it doesn't seem proper editing generated code.