Skip to content

Condition.LinkType enum

Represents type of linking of conditions in group

public enum Korzh.EasyQuery.Condition.LinkType
: Enum

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

NameValueDescription
None0None of the conditions must be truth (all must be false). In SQL it will look like: NOT (Condition1 OR Condition2 OR …)
Any1At least one condition must be truth. In SQL they are connected by OR operator.
NotAll2Not all conditions must be truth (at least one must false). In SQL it will look like: NOT(Condition1 AND Condition2 AND …)
All3All conditions must be truth, in result SQL they are connected by AND operator
Auto99This the default value for AddConditionGroup method. It automatically sets the type of linking depending on the type of the parent (“Any” if the parent has “All” and vice versa)