TechTalk Genome v4.2

Set.Item Property

Returns a Set that contains elements of the source Set filtered by the specified OQL filter expression.

public Set this[
   string where
   object[] parameters
] {get;}

Parameters

where
An OQL expression that evaluates to a boolean value. The expression may contain zero or more literal parameter references and it can refer to the candidate element of the source Set using the this keyword.
parameters
An array of zero or more objects that can be used as literal argument values in where.

Property Value

A Set containing the subset of the source Set filtered for those elements for which the where evaluates to true.

Exceptions

Exception TypeCondition
OqlParserExceptionwhere does not denote a valid OQL expression.
SqlDomException

where is not applicable to the element type of the source Set.

or

where can not be translated to the target SQL language.

or

where is not a boolean expresion.

SchemaExceptionwhere contains expressions or features that cannot be translated with the given DataDomainSchema.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

Set Class | TechTalk.Genome Namespace | Set.Item Overload List | Where | Filtering