示例#1
0
 /// <summary>
 /// Create a new Users object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="username">Initial value of the Username property.</param>
 /// <param name="pwHash">Initial value of the PwHash property.</param>
 public static Users CreateUsers(global::System.Int32 id, global::System.String username, global::System.Int32 pwHash)
 {
     Users users = new Users();
     users.Id = id;
     users.Username = username;
     users.PwHash = pwHash;
     return users;
 }
示例#2
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(Users users)
 {
     base.AddObject("Users", users);
 }