Click or drag to resize

InPredicateProducers.In<T> Method (IEnumerable<IEntityFieldCore>, IEnumerable<T>)

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.4.0.0 (5.4.0)
Syntax
public static IPredicate In<T>(
	this IEnumerable<IEntityFieldCore> fields,
	IEnumerable<T> values
)

Parameters

fields
Type: System.Collections.Generic.IEnumerable<IEntityFieldCore>
The fields.
values
Type: System.Collections.Generic.IEnumerable<T>
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 IEnumerable<IEntityFieldCore>. 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