Specification
Specification copied to clipboard
Docs: Conditional Query Builders
See example usage here: https://github.com/ardalis/Specification/pull/192
Boolean can be passed to .Where
, .Search
etc. If false, the expression will not be added.
Note that .Select
is not optional - if you have a .Select
it must be included.