/// <summary> /// Create a new AccountBalance object. /// </summary> /// <param name="account">Initial value of the Account property.</param> /// <param name="balance">Initial value of the Balance property.</param> public static AccountBalance CreateAccountBalance(global::System.String account, global::System.Decimal balance) { AccountBalance accountBalance = new AccountBalance(); accountBalance.Account = account; accountBalance.Balance = balance; return accountBalance; }
/// <summary> /// Deprecated Method for adding a new object to the AccountBalances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccountBalances(AccountBalance accountBalance) { base.AddObject("AccountBalances", accountBalance); }