WOM Project Home Page / Documentation / Requirements / WQF1
Create Filter Types for Querying the WorkItem Object Model
Requirement Number: WQF1
Module: WorkItem Query Framework
Name: Create Filter Types for Querying the WorkItem Object Model
Description:
Create a filter class that allows the user to specify filters for the following situations:
Filter.Equal("PropertyName", value);
Filter.GreaterThan("PropertyName",value);
Filter.GreaterOrEqualThan("PropertyName",value);
Filter.LowerThan("PropertyName",value);
Filter.LowerOrEqualThan("PropertyName",value);
Filter.Like("PropertyName",value);
Filter.Between("PropertyName",value1,value2);
Those filters can be combined in a filter collection such as:
FilterCollection fc = Filter.Equal("Priority",Priorities.High) + Filter.Equal("Status",Status.Active);
The FilterCollection can then be used to retrieve a workitem collection.
Start Iteration: Iteration 0.02 End Iteration: Iteration 0.02
Implemented: Yes
Check it out on CodePlex!
Comments (0)
You don't have permission to comment on this page.