/// <summary> /// Create a new Money object. /// </summary> /// <param name="currentCash">Initial value of the CurrentCash property.</param> /// <param name="id">Initial value of the Id property.</param> public static Money CreateMoney(global::System.Decimal currentCash, global::System.Int32 id) { Money money = new Money(); money.CurrentCash = currentCash; money.Id = id; return money; }
/// <summary> /// Deprecated Method for adding a new object to the Moneys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMoneys(Money money) { base.AddObject("Moneys", money); }