コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Headers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHeaders(Header header)
 {
     base.AddObject("Headers", header);
 }
コード例 #2
0
 /// <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;
 }