/// <summary> /// Deprecated Method for adding a new object to the currency EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocurrency(currency currency) { base.AddObject("currency", currency); }
/// <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; }