Click or drag to resize

InPredicateProducersInT Method (IEnumerableIEntityFieldCore, IEnumerableT)

Creates a predicate which is true if there's an object of type T in values, which has for each property P a field in fields with the same name / alias and the value for property P is equal to the value of the field equivalent in the main query.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static IPredicate In<T>(
	this IEnumerable<IEntityFieldCore> fields,
	IEnumerable<T> values
)

Parameters

fields
Type: System.Collections.GenericIEnumerableIEntityFieldCore
The fields.
values
Type: System.Collections.GenericIEnumerableT
The values.

Type Parameters

T

Return Value

Type: IPredicate

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIEntityFieldCore. 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