Hi,
You see in he subject the error against which I am fighting for several hours.
I'm using Fluent Model, all was fine since I create a new class in the same way I do for my previous classes (I have 35 classes with no problem). Suddenly, every new classes I create have the same problem : the enhancer seems to not recognize it. When I want to use it I have the error : Type is not [Persistent] or the assembly was not enchanced by OpenAccess. All my classes are declared and used in the same way, old ones are working new ones not !
My version of DataAcces is 2015.3.1221.1 (the last one on nuget).
I found several interesting answer in the forum :
- Rebuild my project after cleaning it,
- Uninstall then reinstall DataAccess
- Check if enhancing is enabled
- Check of course my code is complete or not.
But nothing solve my problem. When I disassemble my Assembly, I see my new class which is unmodified by enhancer whereas all others are modified !
How can I do to force the enhancer to recognize my new classes ? All solutions mentioned above don't work. I feel that the problem appeared after I renamed a view (mapped on my new class), but I'm not sure of that.
Please help me...This is a serious problem, I'm blocked because I can't add any table in my program any more.
Thanks for you help.
Best regard
Loic