Replies: 1 comment 2 replies
-
Is there a reason why you could not just have model authors apply |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team,
I know that if we want to ignore properties during EDM model building, we can use the format: for example,
auditEvents.Ignore(t => t.activity)
. In this way the propertyactivity
is ignored.But right now, I am working on providing a common method for service teams to ignore their unused properties. So, in my method, the usage can be:
generatedObject.Ignore( t => t.propertyName)
. My question is: since this is a common method, actually I don't know every class's property name, so how can I write the expression inIgnore
method? Or is there any other way to ignore properties?Thanks,
Rui
Beta Was this translation helpful? Give feedback.
All reactions