コード例 #1
0
 /// <summary>
 /// Create a new user object.
 /// </summary>
 /// <param name="user_id">Initial value of the user_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 public static user Createuser(global::System.Int64 user_id, global::System.String name)
 {
     user user = new user();
     user.user_id = user_id;
     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);
 }