/// <summary> /// Create a new JobOrderType object. /// </summary> /// <param name="jobOrderTypeID">Initial value of the JobOrderTypeID property.</param> /// <param name="type">Initial value of the Type property.</param> public static JobOrderType CreateJobOrderType(global::System.Byte jobOrderTypeID, global::System.String type) { JobOrderType jobOrderType = new JobOrderType(); jobOrderType.JobOrderTypeID = jobOrderTypeID; jobOrderType.Type = type; return jobOrderType; }
/// <summary> /// Deprecated Method for adding a new object to the JobOrderTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToJobOrderTypes(JobOrderType jobOrderType) { base.AddObject("JobOrderTypes", jobOrderType); }