I moved by DAL layer to use the new 2.5 version of code gen.
I made no other changes and I am not using dependency Injection and i am getting this error:
The type initializer for 'SD.LLBLGen.Pro.ORMSupportClasses.DependencyInjectionInfoProviderSingleton' threw an exception
When at this point in code:
adapter.FetchEntityCollection(EntNote, Nothing)
I am using:
Friend EntNote As New EntityCollection(Of ConfigNoteEntity)(New ConfigNoteEntityFactory())
I am also referencing the 2.5 version of SD.LLBLGen.Pro.ORMSupportClasses.
Any ideas on what is causing this?
I am not sure what to do.