/// <summary> /// Create a new WorkRequest object. /// </summary> /// <param name="workRequestID">Initial value of the WorkRequestID property.</param> public static WorkRequest CreateWorkRequest(global::System.Int32 workRequestID) { WorkRequest workRequest = new WorkRequest(); workRequest.WorkRequestID = workRequestID; return workRequest; }
/// <summary> /// Deprecated Method for adding a new object to the WorkRequests EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToWorkRequests(WorkRequest workRequest) { base.AddObject("WorkRequests", workRequest); }