Blazor and CriteriaBase #2236
Unanswered
mikeclimbs23
asked this question in
Questions
Replies: 1 comment
-
CriteriaBase is deprecated in general, because the data portal now allows passing arbitrary (serializable) parameters for create and fetch operations. CommandBase can have properties of any serializable type. The idea with CommandBase is to create an instance of your command object, set its properties, and execute the command. You may have used property of a type derived from CriteriaBase in the past, but that is really no different than ReadOnlyBase, and the readonly stereotypes remain very important. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I was reading through the discussion board and noticed a mention that CriteriaBase has been depreciated for use with CommandBase. Is that also the case for ReadOnlyListBase?
We're using ReadOnlyBase to execute stored procedures that could have as many as 10 optional parameters. I think it would be easier to read the code using a criteria base object rather than a procedure call with 10 parameters.
Thanks,
Mike
Beta Was this translation helpful? Give feedback.
All reactions