/// <summary> /// Deprecated Method for adding a new object to the Headers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHeaders(Header header) { base.AddObject("Headers", header); }
/// <summary> /// Create a new Header object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="value">Initial value of the Value property.</param> public static Header CreateHeader(global::System.Int32 id, global::System.String value) { Header header = new Header(); header.Id = id; header.Value = value; return header; }