Esempio n. 1
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 /// <param name="domainName">Initial value of the DomainName property.</param>
 public static User CreateUser(global::System.Int32 id, global::System.String userName, global::System.String domainName)
 {
     User user = new User();
     user.Id = id;
     user.UserName = userName;
     user.DomainName = domainName;
     return user;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the User EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUser(User user)
 {
     base.AddObject("User", user);
 }