I'm working on a new entities model creation.
I identified several repeated properties(columns) which naturally needs to be inherited, like Id, CreatedBy, CreatedAt etc.
Now, I created a base class for this issue and it all works OK until I'm defining custom types properties in the base class, for example: public User CreatedBy{get;set;}
when running the application an EngineExecutionException is thrown.
If I'm omitting the public User CreatedBy{get; set;} and leave only the int, string, DateTime properties, it's fine and I can see it reflected in the DB creation.
What is my mistake?