DomainObjects Class Library

Criteria Bitwise Or Operator 

Constrains the search to rows in which either criteria1 or criteria2 are true.

public static Criteria operator |(
   Criteria criteria1,
   Criteria criteria2
);

Return Value

A new Criteria that checks if criteria1 or criteria2 is true.

Remarks

(|) must be overridden for "||" to work as expected. See http://msdn.microsoft.com/en-us/library/aa691312(VS.71).aspx

See Also

Criteria Class | DomainObjects.Facade.Command Namespace