예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Users EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUsers(User user)
 {
     base.AddObject("Users", user);
 }
예제 #2
0
 /// <summary>
 /// Create a new User object.
 /// </summary>
 /// <param name="wNum">Initial value of the WNum property.</param>
 /// <param name="fName">Initial value of the FName property.</param>
 /// <param name="lName">Initial value of the LName property.</param>
 /// <param name="passwd">Initial value of the Passwd property.</param>
 public static User CreateUser(global::System.String wNum, global::System.String fName, global::System.String lName, global::System.String passwd)
 {
     User user = new User();
     user.WNum = wNum;
     user.FName = fName;
     user.LName = lName;
     user.Passwd = passwd;
     return user;
 }