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 UserClaimMvoStateEventIdDtoWrapper(UserClaimMvoStateEventId val) { if (val == null) { throw new ArgumentNullException("val"); } this._value = val; }
public virtual UserClaimMvoStateEventId ToUserClaimMvoStateEventId() { UserClaimMvoStateEventId v = new UserClaimMvoStateEventId(); v.UserClaimId = this.UserClaimId.ToUserClaimId(); v.UserVersion = this.UserVersion; return(v); }
protected UserClaimMvoStateDeleted NewUserClaimMvoStateDeleted(string commandId, string requesterId) { var stateEventId = new UserClaimMvoStateEventId(_state.UserClaimId, ((IUserClaimMvoStateProperties)_state).UserVersion); var e = NewUserClaimMvoStateDeleted(stateEventId); e.CommandId = commandId; e.CreatedBy = (string)requesterId; e.CreatedAt = DateTime.Now; return(e); }
protected virtual IUserClaimMvoStateDeleted Map(IDeleteUserClaimMvo c) { var stateEventId = new UserClaimMvoStateEventId(c.UserClaimId, c.UserVersion); IUserClaimMvoStateDeleted e = NewUserClaimMvoStateDeleted(stateEventId); e.CommandId = c.CommandId; e.CreatedBy = (string)c.RequesterId; e.CreatedAt = DateTime.Now; return(e); }
public override bool Equals(object obj) { if (Object.ReferenceEquals(this, obj)) { return(true); } UserClaimMvoStateEventId other = obj as UserClaimMvoStateEventId; if (other == null) { return(false); } return(true && Object.Equals(this.UserClaimId, other.UserClaimId) && Object.Equals(this.UserVersion, other.UserVersion) ); }
public UserClaimMvoStateEventIdFlattenedDto(UserClaimMvoStateEventId val) { this._value = new UserClaimMvoStateEventIdDtoWrapper(val); }
private UserClaimMvoStateDeleted NewUserClaimMvoStateDeleted(UserClaimMvoStateEventId stateEventId) { return(new UserClaimMvoStateDeleted(stateEventId)); }
private UserClaimMvoStateMergePatched NewUserClaimMvoStateMergePatched(UserClaimMvoStateEventId stateEventId) { return(new UserClaimMvoStateMergePatched(stateEventId)); }
public UserClaimMvoStateDeleted(UserClaimMvoStateEventId stateEventId) : base(stateEventId) { }
public UserClaimMvoStateMergePatched(UserClaimMvoStateEventId stateEventId) : base(stateEventId) { }
protected UserClaimMvoStateEventBase(UserClaimMvoStateEventId stateEventId) { this.StateEventId = stateEventId; }