How to ignore Properties Of Class, And Ignore Them From All Classes Inherits From it. #2004
Unanswered
AlBannaTechno
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I use the ReactiveUI library, but this library has a base class called
ReactiveObject
,and all my models drive from that class
but this class has some properties I want to ignore, so what I did is
I implemented
then I executed
so now, I ignored it, but this is a painful, solution, because every time I add any new model, I must apply the previous line to it
so is there any way to tell LiteDB, to ignore specific fields
or all fields
comes from thatReactiveObject
, even this in sub class eg,Payment
without needing to execute this for every single line,
Also, using the reflection is not an option here, I really care about startup performance.
Beta Was this translation helpful? Give feedback.
All reactions