Table of Contents

Class Document<T>

Namespace
JobFlow.Models.Documents
Assembly
JobFlow.Models.dll

Metadata entity representing a Document.

public class Document<T> : IDocument, IConcurrentEntity

Type Parameters

T
Inheritance
Document<T>
Implements

Remarks

Documents and the Document storage are used for the primary Work Item data as well as any attachments added to Work Items or Jobs.

Properties

ConcurrencyToken

[JsonIgnore]
[JsonIgnore]
public string ConcurrencyToken { get; set; }

Property Value

string

CreatedDateTime

Date and time when the Document was created.

public DateTime CreatedDateTime { get; set; }

Property Value

DateTime

Data

Document data.

public T Data { get; set; }

Property Value

T

DataType

.Net Type of the Data object.

[JsonIgnore]
[JsonIgnore]
public Type DataType { get; }

Property Value

Type

DocumentId

Primary key of the Document.

public string DocumentId { get; set; }

Property Value

string

Type

Date and time when the Document was last updated.

public string Type { get; set; }

Property Value

string

UpdatedDateTime

External Id of the document. Defaults to the same as the WorkItem.

public DateTime UpdatedDateTime { get; set; }

Property Value

DateTime

Methods

GetDataAsJObject()

public JObject GetDataAsJObject()

Returns

JObject