/// <summary> /// Deprecated Method for adding a new object to the MessageParams EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMessageParams(MessageParam messageParam) { base.AddObject("MessageParams", messageParam); }
/// <summary> /// Create a new MessageParam object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="descriptionAsXml">Initial value of the DescriptionAsXml property.</param> /// <param name="value_TypeName">Initial value of the Value_TypeName property.</param> /// <param name="value_ValueAsXml">Initial value of the Value_ValueAsXml property.</param> /// <param name="id">Initial value of the Id property.</param> public static MessageParam CreateMessageParam(global::System.String name, global::System.String descriptionAsXml, global::System.String value_TypeName, global::System.String value_ValueAsXml, global::System.Int64 id) { MessageParam messageParam = new MessageParam(); messageParam.Name = name; messageParam.DescriptionAsXml = descriptionAsXml; messageParam.Value_TypeName = value_TypeName; messageParam.Value_ValueAsXml = value_ValueAsXml; messageParam.Id = id; return messageParam; }