protected virtual IUserClaimMvoStateMergePatched Map(IMergePatchUserClaimMvo c) { var stateEventId = new UserClaimMvoStateEventId(c.UserClaimId, c.UserVersion); IUserClaimMvoStateMergePatched e = NewUserClaimMvoStateMergePatched(stateEventId); e.ClaimType = c.ClaimType; e.ClaimValue = c.ClaimValue; e.Version = c.Version; e.Active = c.Active; e.UserUserName = c.UserUserName; e.UserAccessFailedCount = c.UserAccessFailedCount; e.UserEmail = c.UserEmail; e.UserEmailConfirmed = c.UserEmailConfirmed; e.UserLockoutEnabled = c.UserLockoutEnabled; e.UserLockoutEndDateUtc = c.UserLockoutEndDateUtc; e.UserPasswordHash = c.UserPasswordHash; e.UserPhoneNumber = c.UserPhoneNumber; e.UserPhoneNumberConfirmed = c.UserPhoneNumberConfirmed; e.UserTwoFactorEnabled = c.UserTwoFactorEnabled; e.UserSecurityStamp = c.UserSecurityStamp; e.UserCreatedBy = c.UserCreatedBy; e.UserCreatedAt = c.UserCreatedAt; e.UserUpdatedBy = c.UserUpdatedBy; e.UserUpdatedAt = c.UserUpdatedAt; e.UserActive = c.UserActive; e.UserDeleted = c.UserDeleted; e.IsPropertyClaimTypeRemoved = c.IsPropertyClaimTypeRemoved; e.IsPropertyClaimValueRemoved = c.IsPropertyClaimValueRemoved; e.IsPropertyVersionRemoved = c.IsPropertyVersionRemoved; e.IsPropertyActiveRemoved = c.IsPropertyActiveRemoved; e.IsPropertyUserUserNameRemoved = c.IsPropertyUserUserNameRemoved; e.IsPropertyUserAccessFailedCountRemoved = c.IsPropertyUserAccessFailedCountRemoved; e.IsPropertyUserEmailRemoved = c.IsPropertyUserEmailRemoved; e.IsPropertyUserEmailConfirmedRemoved = c.IsPropertyUserEmailConfirmedRemoved; e.IsPropertyUserLockoutEnabledRemoved = c.IsPropertyUserLockoutEnabledRemoved; e.IsPropertyUserLockoutEndDateUtcRemoved = c.IsPropertyUserLockoutEndDateUtcRemoved; e.IsPropertyUserPasswordHashRemoved = c.IsPropertyUserPasswordHashRemoved; e.IsPropertyUserPhoneNumberRemoved = c.IsPropertyUserPhoneNumberRemoved; e.IsPropertyUserPhoneNumberConfirmedRemoved = c.IsPropertyUserPhoneNumberConfirmedRemoved; e.IsPropertyUserTwoFactorEnabledRemoved = c.IsPropertyUserTwoFactorEnabledRemoved; e.IsPropertyUserSecurityStampRemoved = c.IsPropertyUserSecurityStampRemoved; e.IsPropertyUserCreatedByRemoved = c.IsPropertyUserCreatedByRemoved; e.IsPropertyUserCreatedAtRemoved = c.IsPropertyUserCreatedAtRemoved; e.IsPropertyUserUpdatedByRemoved = c.IsPropertyUserUpdatedByRemoved; e.IsPropertyUserUpdatedAtRemoved = c.IsPropertyUserUpdatedAtRemoved; e.IsPropertyUserActiveRemoved = c.IsPropertyUserActiveRemoved; e.IsPropertyUserDeletedRemoved = c.IsPropertyUserDeletedRemoved; e.CommandId = c.CommandId; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = DateTime.Now; var userVersion = c.UserVersion; return(e); }
public virtual void MergePatch(IMergePatchUserClaimMvo c) { IUserClaimMvoStateMergePatched e = Map(c); Apply(e); }
void IUserClaimMvoApplicationService.When(IMergePatchUserClaimMvo c) { this.When((MergePatchUserClaimMvoDto)c); }
public virtual void When(IMergePatchUserClaimMvo c) { Update(c, ar => ar.MergePatch(c)); }