This question is locked. New answers and comments are not allowed.
Hello, Telerik team!
I have an entity with some [Transient] fields. And my Entity realizes interface IInitializeTransient.
And I have some logic for initialize these fields. But this Initialize() method is in other class and in other dll. And it is called in some EntityManager, because initialize logic for some [Transient] fields is difficult. And it is large source code block with many dependencies. And Entity shouldn't know about all of this.
And of course my entity doesn't know anything about this Initialize() logic.
So, I have a problem when I Flush() my entity - all [Transient] fields are Reset. How I can not Reset [Transient] fields and use them after Flush() without duplicate call difficult Initialize() logic?
Thanks!