# ProjectAssignment

The relationship between a task and resource, with independently stored work, costs, and progress.

Class 

`OfficeIMO.Project`

**Namespace**

`OfficeIMO.Project`

**Assembly**

`OfficeIMO.Project`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ProjectAssignment.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L11)

**Base**

`ProjectEntity`

**Modifiers**

sealed

The relationship between a task and resource, with independently stored work, costs, and progress.

## Inheritance

- [ProjectObject](/api/project/officeimo-project-projectobject/)
- [ProjectEntity](/api/project/officeimo-project-projectentity/)
- ProjectAssignment

## Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 4

- Method [ProjectAssignmentCollection.Add](/api/project/officeimo-project-projectassignmentcollection/#method-add-officeimo-project-projecttask-officeimo-project-projectresource-nullable-officeimo-project-projectunits)
- Method [ProjectAssignmentCollection.GetByUid](/api/project/officeimo-project-projectassignmentcollection/#method-getbyuid-int32)
- Method [ProjectAssignmentCollection.GetEnumerator](/api/project/officeimo-project-projectassignmentcollection/#method-getenumerator)
- Property [ProjectAssignmentCollection.Item](/api/project/officeimo-project-projectassignmentcollection/#property-item-int32)

### Accepted by parameters 1

- Method [ProjectAssignmentCollection.Remove](/api/project/officeimo-project-projectassignmentcollection/#method-remove-officeimo-project-projectassignment) parameter `assignment`

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public ProjectCollection<ProjectTimephasedValue> TimephasedData { get; }` [#](#property-timephaseddata)

[ProjectAssignment.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L11)

Compact source timephased intervals.

`public ProjectCollection<ProjectBaseline> Baselines { get; }` [#](#property-baselines)

[ProjectAssignment.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L13)

Stored baseline snapshots.

`public ProjectCollection<ProjectCustomFieldValue> CustomFields { get; }` [#](#property-customfields)

[ProjectAssignment.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L15)

Custom values and lookup references.

`public ProjectTask? Task { get; internal set; }` [#](#property-task)

[ProjectAssignment.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L17)

The assigned task, or null for a preserved unresolved source reference.

`public ProjectResource? Resource { get; internal set; }` [#](#property-resource)

[ProjectAssignment.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L19)

The resource, or null for an unassigned/preserved unresolved source reference.

`public ProjectUnits? Units { get; set; }` [#](#property-units)

[ProjectAssignment.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L25)

Stored units; null represents an absent source value.

`public ProjectWork? Work { get; set; }` [#](#property-work)

[ProjectAssignment.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L29)

Stored work; null represents an absent source value.

`public ProjectWork? ActualWork { get; set; }` [#](#property-actualwork)

[ProjectAssignment.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L33)

Stored actual work; null represents an absent source value.

`public ProjectWork? RemainingWork { get; set; }` [#](#property-remainingwork)

[ProjectAssignment.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L37)

Stored remaining work; null represents an absent source value.

`public ProjectWork? OvertimeWork { get; set; }` [#](#property-overtimework)

[ProjectAssignment.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L41)

Stored overtime work; null represents an absent source value.

`public ProjectWork? ActualOvertimeWork { get; set; }` [#](#property-actualovertimework)

[ProjectAssignment.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L45)

Stored actual overtime work; null represents an absent source value.

`public DateTime? Start { get; set; }` [#](#property-start)

[ProjectAssignment.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L49)

Stored local project date; null preserves an absent value.

`public DateTime? Finish { get; set; }` [#](#property-finish)

[ProjectAssignment.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L53)

Stored local project date; null preserves an absent value.

`public DateTime? ActualStart { get; set; }` [#](#property-actualstart)

[ProjectAssignment.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L57)

Stored local project date; null preserves an absent value.

`public DateTime? ActualFinish { get; set; }` [#](#property-actualfinish)

[ProjectAssignment.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L61)

Stored local project date; null preserves an absent value.

`public decimal? Cost { get; set; }` [#](#property-cost)

[ProjectAssignment.cs:65](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L65)

Stored cost; null represents an absent source value.

`public decimal? ActualCost { get; set; }` [#](#property-actualcost)

[ProjectAssignment.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L69)

Stored actual cost; null represents an absent source value.

`public decimal? RemainingCost { get; set; }` [#](#property-remainingcost)

[ProjectAssignment.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L73)

Stored remaining cost; null represents an absent source value.

`public int? PercentWorkComplete { get; set; }` [#](#property-percentworkcomplete)

[ProjectAssignment.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L77)

Stored percent work complete; null represents an absent source value.

`public string? Notes { get; set; }` [#](#property-notes)

[ProjectAssignment.cs:81](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.cs#L81)

Stored notes; null represents an absent source value.

`public DateTime? Stop { get; set; }` [#](#property-stop)

[ProjectAssignment.Profile.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L11)

End of recorded actual work, if supplied by the source or caller.

`public DateTime? Resume { get; set; }` [#](#property-resume)

[ProjectAssignment.Profile.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L13)

Earliest stored restart of remaining work after an interruption.

`public ProjectCostRateTable? CostRateTable { get; set; }` [#](#property-costratetable)

[ProjectAssignment.Profile.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L15)

Resource cost table selected for this assignment; null uses table A.

`public decimal? DelayMinutes { get; set; }` [#](#property-delayminutes)

[ProjectAssignment.Profile.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L17)

Working-minute delay from task start to assignment start.

`public bool? HasFixedRateUnits { get; set; }` [#](#property-hasfixedrateunits)

[ProjectAssignment.Profile.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L19)

True for fixed material quantities, false for consumption per time unit. Work-resource allocations normally use true.

`public int? MaterialRateScale { get; set; }` [#](#property-materialratescale)

[ProjectAssignment.Profile.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L21)

Variable material consumption unit: 1 minute, 2 hour, 3 day, 4 week, 5 month. Units stores the quantity per selected unit.

`public ProjectWorkContour? WorkContour { get; set; }` [#](#property-workcontour)

[ProjectAssignment.Profile.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectAssignment.Profile.cs#L23)

Named allocation profile, or a custom profile supplied by remaining-work timephased intervals.

## Inherited Properties

`public int Uid { get; }` [#](#property-uid)

[ProjectObject.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectObject.cs#L42)

Inherited from [ProjectEntity](/api/project/officeimo-project-projectentity/)

`public Guid? Guid { get; set; }` [#](#property-guid)

[ProjectObject.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Project/Model/ProjectObject.cs#L45)

Inherited from [ProjectEntity](/api/project/officeimo-project-projectentity/)

<!-- PowerForge markdown artifact sha256:60234BC89851F0C3C00CF74F3FCBF55471AE6F37FC8A354812A3D69ACC033203 -->
