Namespace: MonoSoftware.LLBLGen
Assembly: MonoSoftware.LLBLGen (in MonoSoftware.LLBLGen.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static Expression<Func> Or<T>(
	this bool expr1,
	T expr2
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function Or(Of T) ( 
	expr1 As Boolean,
	expr2 As T
) As Expression(Of Func)
Visual C++
public:
[ExtensionAttribute]
generic<typename T>
static Expression<Func^>^ Or(
	bool expr1, 
	T expr2
)
F#
static member Or : 
        expr1 : bool * 
        expr2 : 'T -> Expression<Func> 

Parameters

expr1
Type: System..::..Boolean
expr2
Type: T

Type Parameters

T

Return Value

Type: Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Boolean. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also