예제 #1
0
 /// <summary>
 /// Create a new user object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="phoneid">Initial value of the phoneid property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static user Createuser(global::System.Int32 id, global::System.String phoneid, global::System.String name)
 {
     user user = new user();
     user.ID = id;
     user.phoneid = phoneid;
     user.name = name;
     return user;
 }
예제 #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(user user)
 {
     base.AddObject("users", user);
 }