Steve wrote:
Oops! Just realized we have a table called General. I guess you create a GeneralEntityFactory?
That's indeed what happens. In the EntityFactories.vb file, there's a class called GeneralEntityFactory, which creates a new entity factory based on the passed in EntityType value, so you don't have to have an instance of a particular entityfactory at hand.
Indeed, this clashes with the factory created for the entity called 'General'. Sorry about that. We did think that the general factory's name GeneralEntityFactory wouldn't normally clash with the entity factory created by an entity, but you ran into this. This is unfortunate, as we can't change the name of GeneralEntityFactory without breaking code.
What you can do is renaming the entity 'General' in the designer, using the project explorer or the entity editor. (e.g. 'GeneralData'). It then should be ok.
By the way, I've been trying to load my schemas in Deklarit for two weeks without success.
LLBLGEN took 10 minutes, and generated two errors in the Build, one of which was a design fault in my database.
VERY impressive.
Thanks!