/// <summary> /// Deprecated Method for adding a new object to the Finances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFinances(Finances finances) { base.AddObject("Finances", finances); }
/// <summary> /// Create a new Finances object. /// </summary> /// <param name="amount">Initial value of the Amount property.</param> /// <param name="currency">Initial value of the Currency property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="characterId">Initial value of the CharacterId property.</param> public static Finances CreateFinances(global::System.Int32 amount, global::System.Int32 currency, global::System.Int32 id, global::System.Int32 characterId) { Finances finances = new Finances(); finances.Amount = amount; finances.Currency = currency; finances.Id = id; finances.CharacterId = characterId; return finances; }