/// <summary> /// Deprecated Method for adding a new object to the JobTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobTypes(JobTypes jobTypes) { base.AddObject("JobTypes", jobTypes); }
/// <summary> /// Create a new JobTypes object. /// </summary> /// <param name="jobTypeID">Initial value of the JobTypeID property.</param> /// <param name="addDate">Initial value of the AddDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static JobTypes CreateJobTypes(global::System.Int32 jobTypeID, global::System.DateTime addDate, global::System.Byte[] rowVersion) { JobTypes jobTypes = new JobTypes(); jobTypes.JobTypeID = jobTypeID; jobTypes.AddDate = addDate; jobTypes.RowVersion = rowVersion; return jobTypes; }