Click or drag to resize

LinqExtensionsEqualNull Method

Returns true if the object is equal to the value or the object is null.

Namespace:  Aloe.SystemFrameworks.Domain.LINQ
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static bool EqualNull(
	this Object obj,
	Object value
)

Parameters

obj
Type: SystemObject
The object to check.
value
Type: SystemObject
The value .

Return Value

Type: Boolean
true if the object is equal to the value or the object is null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. 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).
Remarks
.EqualNull is recognized by the domain objects query translator and is optimally executed as an efficient data source command.
See Also