Example #1
0
 /// <summary>
 /// Create a new AccountUser object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="activationCode">Initial value of the ActivationCode property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="addressId">Initial value of the AddressId property.</param>
 public static AccountUser CreateAccountUser(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.String email, global::System.String password, global::System.String activationCode, global::System.Boolean active, global::System.Int32 addressId)
 {
     AccountUser accountUser = new AccountUser();
     accountUser.Id = id;
     accountUser.FirstName = firstName;
     accountUser.LastName = lastName;
     accountUser.Email = email;
     accountUser.Password = password;
     accountUser.ActivationCode = activationCode;
     accountUser.Active = active;
     accountUser.AddressId = addressId;
     return accountUser;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AccountUsers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAccountUsers(AccountUser accountUser)
 {
     base.AddObject("AccountUsers", accountUser);
 }