/// <summary> /// Create a new RequestOption object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="textAsXml">Initial value of the TextAsXml property.</param> /// <param name="checkedByDefault">Initial value of the CheckedByDefault property.</param> /// <param name="checkedByUser">Initial value of the CheckedByUser property.</param> /// <param name="itemIndex">Initial value of the ItemIndex property.</param> /// <param name="requestId">Initial value of the RequestId property.</param> public static RequestOption CreateRequestOption(global::System.Int64 id, global::System.String textAsXml, global::System.Boolean checkedByDefault, global::System.Boolean checkedByUser, global::System.Int32 itemIndex, global::System.Int64 requestId) { RequestOption requestOption = new RequestOption(); requestOption.Id = id; requestOption.TextAsXml = textAsXml; requestOption.CheckedByDefault = checkedByDefault; requestOption.CheckedByUser = checkedByUser; requestOption.ItemIndex = itemIndex; requestOption.RequestId = requestId; return requestOption; }
/// <summary> /// Deprecated Method for adding a new object to the RequestOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRequestOptions(RequestOption requestOption) { base.AddObject("RequestOptions", requestOption); }