New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents a serializable data transfer object for Gantt assignments. Implements IAssignmentData and provides copy helpers for mapping to and from live IAssignment instances.

Definition

Namespace:Telerik.Web.UI.Gantt

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[DataContract]
public class AssignmentData : IAssignmentData, IAssignmentBase

Inheritance: objectAssignmentData

Implements: IAssignmentBaseIAssignmentData

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public AssignmentData()

Properties

Gets or sets the unique assignment identifier.

C#
[DataMember]
public object ID { get; set; }

Implements: IAssignmentBase.ID

Gets or sets the associated resource identifier.

C#
[DataMember]
public object ResourceID { get; set; }

Implements: IAssignmentBase.ResourceID

Gets or sets the associated task identifier.

C#
[DataMember]
public object TaskID { get; set; }

Implements: IAssignmentBase.TaskID

Gets or sets the assignment units value.

C#
[DataMember]
public object Units { get; set; }

Implements: IAssignmentBase.Units

Methods

Copies scalar assignment properties from the specified source assignment into this data object.

C#
public void CopyFrom(IAssignment srcAssignment)
Parameters:srcAssignmentIAssignment

The source assignment.

Implements: IAssignmentData.CopyFrom(IAssignment)

Applies this data object's scalar properties to the specified destination assignment.

C#
public void CopyTo(IAssignment destAssignment)
Parameters:destAssignmentIAssignment

The destination assignment to update.

Implements: IAssignmentData.CopyTo(IAssignment)