コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the currency EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTocurrency(currency currency)
 {
     base.AddObject("currency", currency);
 }
コード例 #2
0
 /// <summary>
 /// Create a new currency 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 currency Createcurrency(global::System.Int64 id, global::System.String code, global::System.DateTime lastModified)
 {
     currency currency = new currency();
     currency.ID = id;
     currency.Code = code;
     currency.LastModified = lastModified;
     return currency;
 }