/// <summary> /// Deprecated Method for adding a new object to the NCashWalletBalances EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNCashWalletBalances(NCashWalletBalance nCashWalletBalance) { base.AddObject("NCashWalletBalances", nCashWalletBalance); }
/// <summary> /// Create a new NCashWalletBalance object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="balance">Initial value of the Balance property.</param> public static NCashWalletBalance CreateNCashWalletBalance(global::System.String userId, global::System.Decimal balance) { NCashWalletBalance nCashWalletBalance = new NCashWalletBalance(); nCashWalletBalance.UserId = userId; nCashWalletBalance.Balance = balance; return nCashWalletBalance; }