コード例 #1
0
 /// <summary>
 /// Create a new user object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="password">Initial value of the Password property.</param>
 /// <param name="enable">Initial value of the Enable property.</param>
 /// <param name="block">Initial value of the Block property.</param>
 /// <param name="lastModified">Initial value of the LastModified property.</param>
 public static user Createuser(global::System.Int64 id, global::System.String password, global::System.Int16 enable, global::System.Int16 block, global::System.DateTime lastModified)
 {
     user user = new user();
     user.ID = id;
     user.Password = password;
     user.Enable = enable;
     user.Block = block;
     user.LastModified = lastModified;
     return user;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the user EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTouser(user user)
 {
     base.AddObject("user", user);
 }