/// <summary> /// Create a new account object. /// </summary> /// <param name="userID">Initial value of the userID property.</param> /// <param name="currentBalance">Initial value of the currentBalance property.</param> /// <param name="pNL">Initial value of the pNL property.</param> public static account Createaccount(global::System.Guid userID, global::System.Decimal currentBalance, global::System.Decimal pNL) { account account = new account(); account.userID = userID; account.currentBalance = currentBalance; account.pNL = pNL; return account; }
/// <summary> /// Deprecated Method for adding a new object to the accounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToaccounts(account account) { base.AddObject("accounts", account); }