WorkItem Object Mapper

 

COR1

Page history last edited by Bernardo Heynemann 3 yrs ago

WOM Project Home Page / Documentation / Requirements / COR1

 

Map WorkItem Properties

 

Requirement Number: COR1

Module: WOM Core

Name: Map WorkItem Properties

Description:

This requirement involves creating the foundation for the mapper.

The structure that this requirement details is the mapping of each property on an object in the object model and the mapping of the object itself.

Example:

  • [PrimaryKey("WorkItemType", typeof(WorkItemType), (int)WorkItemType.Task)]
  • [WorkItemType("Work Item")]
  • public class Task : WorkItem {
    • public Task() : base() { }
    • public Task(int ID) : base(ID) { }

 

    • [WorkItemProperty("Code Studio Rank")]
    • public Priorities Priority {
      • get { return priority; }
      • set { priority = value; }
    • }

 

    • [WorkItemProperty("Assigned To")]
    • public string AssignedTo {
      • get { return assignedTo; }
      • set { assignedTo = value; }
    • }

 

    • [WorkItemProperty("State")]
    • public Status Status {
      • get { return status; }
      • set { status = value; }
    • }
  • }

The object definition above should be supported for Retrieval, Create and Updates as of this iteration, and this requirement states that kind of support.

Start Iteration: Iteration 0.01 End Iteration: Iteration 0.01

Implemented: Yes

Check it out on CodePlex!

Comments (0)

You don't have permission to comment on this page.