Storage.ORM.User.CreateUser C# (CSharp) Method

CreateUser() public static method

Create a new User object.
public static CreateUser ( global id, global username, global password, global name, global surname, global expirationDate ) : User
id global Initial value of the ID property.
username global Initial value of the Username property.
password global Initial value of the Password property.
name global Initial value of the Name property.
surname global Initial value of the Surname property.
expirationDate global Initial value of the ExpirationDate property.
return User
        public static User CreateUser(global::System.Int32 id, global::System.String username, global::System.String password, global::System.String name, global::System.String surname, global::System.DateTime expirationDate)
        {
            User user = new User();
            user.ID = id;
            user.Username = username;
            user.Password = password;
            user.Name = name;
            user.Surname = surname;
            user.ExpirationDate = expirationDate;
            return user;
        }