public void Update(Guid ApplicationId, Guid UserId, string Password, int PasswordFormat, string PasswordSalt, string MobilePIN, string Email, string LoweredEmail, string PasswordQuestion, string PasswordAnswer, bool IsApproved, bool IsLockedOut, DateTime CreateDate, DateTime LastLoginDate, DateTime LastPasswordChangedDate, DateTime LastLockoutDate, int FailedPasswordAttemptCount, DateTime FailedPasswordAttemptWindowStart, int FailedPasswordAnswerAttemptCount, DateTime FailedPasswordAnswerAttemptWindowStart, string Comment)
        {
            AspnetMembership item = new AspnetMembership();

            item.MarkOld();
            item.IsLoaded = true;

            item.ApplicationId = ApplicationId;

            item.UserId = UserId;

            item.Password = Password;

            item.PasswordFormat = PasswordFormat;

            item.PasswordSalt = PasswordSalt;

            item.MobilePIN = MobilePIN;

            item.Email = Email;

            item.LoweredEmail = LoweredEmail;

            item.PasswordQuestion = PasswordQuestion;

            item.PasswordAnswer = PasswordAnswer;

            item.IsApproved = IsApproved;

            item.IsLockedOut = IsLockedOut;

            item.CreateDate = CreateDate;

            item.LastLoginDate = LastLoginDate;

            item.LastPasswordChangedDate = LastPasswordChangedDate;

            item.LastLockoutDate = LastLockoutDate;

            item.FailedPasswordAttemptCount = FailedPasswordAttemptCount;

            item.FailedPasswordAttemptWindowStart = FailedPasswordAttemptWindowStart;

            item.FailedPasswordAnswerAttemptCount = FailedPasswordAnswerAttemptCount;

            item.FailedPasswordAnswerAttemptWindowStart = FailedPasswordAnswerAttemptWindowStart;

            item.Comment = Comment;

            item.Save(UserName);
        }
 public bool Destroy(object UserId)
 {
     return(AspnetMembership.Destroy(UserId) == 1);
 }
 public bool Delete(object UserId)
 {
     return(AspnetMembership.Delete(UserId) == 1);
 }