Beispiel #1
0
        private UserPermissionStateEventIdDto NewUserPermissionStateEventId(string permissionId)
        {
            var eId = new UserPermissionStateEventIdDto();

            eId.UserId       = this.StateEventId.UserId;
            eId.PermissionId = permissionId;
            eId.UserVersion  = this.StateEventId.Version;
            return(eId);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            if (Object.ReferenceEquals(this, obj))
            {
                return(true);
            }

            UserPermissionStateEventIdDto other = obj as UserPermissionStateEventIdDto;

            if (other == null)
            {
                return(false);
            }

            return(true &&
                   Object.Equals(this.UserId, other.UserId) &&
                   Object.Equals(this.PermissionId, other.PermissionId) &&
                   Object.Equals(this.UserVersion, other.UserVersion)
                   );
        }
 public UserPermissionStateEventIdFlattenedDto(UserPermissionStateEventId val)
 {
     this._value = new UserPermissionStateEventIdDtoWrapper(val);
 }
 public UserPermissionStateEventIdFlattenedDto(UserPermissionStateEventIdDto val)
 {
     this._value = val;
 }
 protected UserPermissionStateEventDtoBase(UserPermissionStateEventIdDto stateEventId)
 {
     this.StateEventId = stateEventId;
 }