public user modelToEntity(User user)
 {
     var userData = new user();
     userData.UserID = user.UserID;
     userData.UserName = user.UserName;
     userData.Password = user.Password;
     return userData;
 }
 /// <summary>
 /// Create a new user object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 public static user Createuser(global::System.String userID)
 {
     user user = new user();
     user.UserID = userID;
     return user;
 }
 /// <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);
 }
 /// <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);
 }