/// <summary> /// Create a new JobControlType object. /// </summary> /// <param name="jobControlTypeID">Initial value of the JobControlTypeID property.</param> /// <param name="controlTypeName">Initial value of the ControlTypeName property.</param> public static JobControlType CreateJobControlType(global::System.Int32 jobControlTypeID, global::System.String controlTypeName) { JobControlType jobControlType = new JobControlType(); jobControlType.JobControlTypeID = jobControlTypeID; jobControlType.ControlTypeName = controlTypeName; return jobControlType; }
/// <summary> /// Deprecated Method for adding a new object to the JobControlTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobControlTypes(JobControlType jobControlType) { base.AddObject("JobControlTypes", jobControlType); }