/// <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(jobtype jobtype) { base.AddObject("jobtypes", jobtype); }
/// <summary> /// Create a new jobtype object. /// </summary> /// <param name="jobtype_id">Initial value of the jobtype_id property.</param> /// <param name="typestr">Initial value of the typestr property.</param> public static jobtype Createjobtype(global::System.Int32 jobtype_id, global::System.String typestr) { jobtype jobtype = new jobtype(); jobtype.jobtype_id = jobtype_id; jobtype.typestr = typestr; return jobtype; }