I'm taking over a project from a developer who is not available for consultation, and I'm new to LLBLGen Pro (and O/R mappers in general, if you detect trepidation...)
This project is using LLBLGen Pro v3.1 on a .NET 3.5 soution with a SQL Server 2005 database. I have added a schema and tables to the database, and need to add the entities to access those new tables. I'm trying to fight the temptation to revert to writing the data access myself in the interest of learning something new, etc, but...
The problem: when building the solution after generating the code including the new entities, I get 183 build errors, falling into 3 categories:
1. 'CommonEntityLayer.RelationClasses.StaticArchivedOrderDetailRelations' is inaccessible due to its protection level
2. 'CommonEntityLayer.RelationClasses.StaticArchivedOrderDetailRelations' does not contain a definition for 'ArchivedOrderEntityUsingOrderIDStatic'
3. CommonEntityLayer.RelationClasses.VendorAccountRelations' does not contain a definition for 'ArchivedOrderEntityUsingVendorAccountID' and no extension method 'ArchivedOrderEntityUsingVendorAccountID' accepting a first argument of type 'CommonEntityLayer.RelationClasses.VendorAccountRelations' could be found (are you missing a using directive or an assembly reference?)
These appear to be all related to the new entities (new schema is 'Archive' and new tables match the original Order, OrderDetail, etc tables with "Archive" prefixed to table name)
My process was thus: Open a copy of the original .llblgenproj file in the designer, add the schema to the DB in the right panel, select the tables, then "Reverse-engineer to Entity Definition(s)."
I have attached the resulting llblgenproj file, please let me know if you need any more information
Thanks for any advice...