/// <summary> /// Create a new UserAccount object. /// </summary> /// <param name="userAccountID">Initial value of the UserAccountID property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="regionID">Initial value of the RegionID property.</param> /// <param name="sBUID">Initial value of the SBUID property.</param> public static UserAccount CreateUserAccount(global::System.Int32 userAccountID, global::System.String username, global::System.Int32 regionID, global::System.Int32 sBUID) { UserAccount userAccount = new UserAccount(); userAccount.UserAccountID = userAccountID; userAccount.Username = username; userAccount.RegionID = regionID; userAccount.SBUID = sBUID; return userAccount; }
/// <summary> /// Deprecated Method for adding a new object to the UserAccounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserAccounts(UserAccount userAccount) { base.AddObject("UserAccounts", userAccount); }