Epiworx.Data.EntityFramework.User.CreateUser C# (CSharp) Method

CreateUser() public static method

Create a new User object.
public static CreateUser ( global userId, global email, global fullName, global isActive, global isArchived, global name, global password, global salt, global token, global tokenExpirationDate, global createdDate, global modifiedDate ) : User
userId global Initial value of the UserId property.
email global Initial value of the Email property.
fullName global Initial value of the FullName property.
isActive global Initial value of the IsActive property.
isArchived global Initial value of the IsArchived property.
name global Initial value of the Name property.
password global Initial value of the Password property.
salt global Initial value of the Salt property.
token global Initial value of the Token property.
tokenExpirationDate global Initial value of the TokenExpirationDate property.
createdDate global Initial value of the CreatedDate property.
modifiedDate global Initial value of the ModifiedDate property.
return User
        public static User CreateUser(global::System.Int32 userId, global::System.String email, global::System.String fullName, global::System.Boolean isActive, global::System.Boolean isArchived, global::System.String name, global::System.String password, global::System.String salt, global::System.String token, global::System.DateTime tokenExpirationDate, global::System.DateTime createdDate, global::System.DateTime modifiedDate)
        {
            User user = new User();
            user.UserId = userId;
            user.Email = email;
            user.FullName = fullName;
            user.IsActive = isActive;
            user.IsArchived = isArchived;
            user.Name = name;
            user.Password = password;
            user.Salt = salt;
            user.Token = token;
            user.TokenExpirationDate = tokenExpirationDate;
            user.CreatedDate = createdDate;
            user.ModifiedDate = modifiedDate;
            return user;
        }