Click or drag to resize

LinqExtensionsIn Method (NullableGuid, IEnumerable)

Returns true if list contains the specified id. Primarily intended for use inside IQueryable/IEnumerable queries

Namespace:  Aloe.SystemFrameworks.Domain.LINQ
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static bool In(
	this Nullable<Guid> id,
	IEnumerable list
)

Parameters

id
Type: SystemNullableGuid
The id to search for.
list
Type: System.CollectionsIEnumerable
The list in which to search for the id.

Return Value

Type: Boolean
true if the list contains the id

Usage Note

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