コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the exchange EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToexchange(exchange exchange)
 {
     base.AddObject("exchange", exchange);
 }
コード例 #2
0
 /// <summary>
 /// Create a new exchange object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static exchange Createexchange(global::System.Int64 id, global::System.String code, global::System.DateTime lastModified)
 {
     exchange exchange = new exchange();
     exchange.ID = id;
     exchange.Code = code;
     exchange.LastModified = lastModified;
     return exchange;
 }