コード例 #1
0
 /// <summary>
 /// Create a new JobRoleCourseAssignment object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="jobRoleCourseAssignment_JobRole">Initial value of the JobRoleCourseAssignment_JobRole property.</param>
 /// <param name="jobRoleCourseAssignment_Course">Initial value of the JobRoleCourseAssignment_Course property.</param>
 /// <param name="dateAssigned">Initial value of the DateAssigned property.</param>
 /// <param name="targetCompletionDate">Initial value of the TargetCompletionDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static JobRoleCourseAssignment CreateJobRoleCourseAssignment(global::System.Int32 id, global::System.Int32 jobRoleCourseAssignment_JobRole, global::System.Int32 jobRoleCourseAssignment_Course, global::System.DateTime dateAssigned, global::System.DateTime targetCompletionDate, global::System.Byte[] rowVersion)
 {
     JobRoleCourseAssignment jobRoleCourseAssignment = new JobRoleCourseAssignment();
     jobRoleCourseAssignment.Id = id;
     jobRoleCourseAssignment.JobRoleCourseAssignment_JobRole = jobRoleCourseAssignment_JobRole;
     jobRoleCourseAssignment.JobRoleCourseAssignment_Course = jobRoleCourseAssignment_Course;
     jobRoleCourseAssignment.DateAssigned = dateAssigned;
     jobRoleCourseAssignment.TargetCompletionDate = targetCompletionDate;
     jobRoleCourseAssignment.RowVersion = rowVersion;
     return jobRoleCourseAssignment;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the JobRoleCourseAssignments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToJobRoleCourseAssignments(JobRoleCourseAssignment jobRoleCourseAssignment)
 {
     base.AddObject("JobRoleCourseAssignments", jobRoleCourseAssignment);
 }