Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the WorkshopAssignment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWorkshopAssignment(WorkshopAssignment workshopAssignment)
 {
     base.AddObject("WorkshopAssignment", workshopAssignment);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new WorkshopAssignment object.
 /// </summary>
 /// <param name="workshopAssignmentId">Initial value of the WorkshopAssignmentId property.</param>
 /// <param name="employeeId">Initial value of the EmployeeId property.</param>
 /// <param name="workshopDailyActivityId">Initial value of the WorkshopDailyActivityId property.</param>
 /// <param name="assignedAt">Initial value of the AssignedAt property.</param>
 public static WorkshopAssignment CreateWorkshopAssignment(global::System.Int32 workshopAssignmentId, global::System.Int32 employeeId, global::System.Int32 workshopDailyActivityId, global::System.DateTime assignedAt)
 {
     WorkshopAssignment workshopAssignment = new WorkshopAssignment();
     workshopAssignment.WorkshopAssignmentId = workshopAssignmentId;
     workshopAssignment.EmployeeId = employeeId;
     workshopAssignment.WorkshopDailyActivityId = workshopDailyActivityId;
     workshopAssignment.AssignedAt = assignedAt;
     return workshopAssignment;
 }