/// <summary> /// Deprecated Method for adding a new object to the GetDepartmentInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGetDepartmentInfoes(GetDepartmentInfo getDepartmentInfo) { base.AddObject("GetDepartmentInfoes", getDepartmentInfo); }
/// <summary> /// Create a new GetDepartmentInfo object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="code">Initial value of the code property.</param> /// <param name="department_name">Initial value of the department_name property.</param> /// <param name="collection_point">Initial value of the collection_point property.</param> public static GetDepartmentInfo CreateGetDepartmentInfo(global::System.Int32 id, global::System.String code, global::System.String department_name, global::System.Int32 collection_point) { GetDepartmentInfo getDepartmentInfo = new GetDepartmentInfo(); getDepartmentInfo.id = id; getDepartmentInfo.code = code; getDepartmentInfo.department_name = department_name; getDepartmentInfo.collection_point = collection_point; return getDepartmentInfo; }