C#C
C#3y ago
.tree

❔ Access a DB property from a not mapped property

I have 2 models, A and B.

A includes a property X that I want to store in property Y in B.

Property X is stored in a DB, property Y is not mapped.

How can I achieve this? Simply doing get => A.X does not seem to work in property Y
Was this page helpful?