Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserAccounts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserAccounts(UserAccount userAccount)
 {
     base.AddObject("UserAccounts", userAccount);
 }
Example #2
0
 /// <summary>
 /// Create a new UserAccount object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="account">Initial value of the Account property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="enterpriseId">Initial value of the EnterpriseId property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="isOnline">Initial value of the IsOnline property.</param>
 /// <param name="userGroupId">Initial value of the UserGroupId property.</param>
 public static UserAccount CreateUserAccount(global::System.Int32 id, global::System.String account, global::System.String password, global::System.Int32 enterpriseId, global::System.Boolean status, global::System.Boolean isOnline, global::System.Int32 userGroupId)
 {
     UserAccount userAccount = new UserAccount();
     userAccount.Id = id;
     userAccount.Account = account;
     userAccount.Password = password;
     userAccount.EnterpriseId = enterpriseId;
     userAccount.Status = status;
     userAccount.IsOnline = isOnline;
     userAccount.UserGroupId = userGroupId;
     return userAccount;
 }