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