Ejemplo n.º 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(Users users)
 {
     base.AddObject("Users", users);
 }
Ejemplo n.º 2
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="password">Initial value of the Password property.</param>
 public static Users CreateUsers(global::System.Int32 id, global::System.String username, global::System.String password)
 {
     Users users = new Users();
     users.Id = id;
     users.Username = username;
     users.Password = password;
     return users;
 }