Can a field in an Entity be private? I need to gua...
# komapper
d
Can a field in an Entity be private? I need to guard access to the real db value, and replace it with a virtual property that does a bit more...
t
No, it cannot. Komapper must access the entity fields without reflection.
d
Even though it could set them in the constructor? Anyways the main thing being accessed is the Meta class generated, no?
t
Instantiation of entity classes, copying, and access to fields are all done within the generated metamodel class.