Ejemplo n.º 1
0
 /// <summary>
 /// Create a new user object.
 /// </summary>
 /// <param name="user1">Initial value of the user1 property.</param>
 /// <param name="passcode">Initial value of the passcode property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="surname">Initial value of the Surname property.</param>
 /// <param name="security">Initial value of the security property.</param>
 /// <param name="status">Initial value of the status property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 public static user Createuser(global::System.String user1, global::System.String passcode, global::System.String name, global::System.String surname, global::System.Int32 security, global::System.Int32 status, global::System.DateTime stamp)
 {
     user user = new user();
     user.user1 = user1;
     user.passcode = passcode;
     user.Name = name;
     user.Surname = surname;
     user.security = security;
     user.status = status;
     user.stamp = stamp;
     return user;
 }
Ejemplo n.º 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);
 }