Introduce `[Obsolete]` attributes to various methods and classes, suggesting alternatives such as MediatR and IRepository. Mark multiple DTOs and repository classes as obsolete, recommending the use of DigitalData.Core.Exceptions and .Middleware or Repository. This change aims to enhance maintainability and clarity in the codebase.
25 lines
815 B
C#
25 lines
815 B
C#
using DigitalData.UserManager.Application.DTOs.Base;
|
|
using DigitalData.UserManager.Application.DTOs.Group;
|
|
using DigitalData.UserManager.Application.DTOs.User;
|
|
|
|
namespace DigitalData.UserManager.Application.DTOs.UserRep
|
|
{
|
|
[Obsolete("Use DigitalData.Core.Exceptions and .Middleware")]
|
|
public record UserRepReadDto(
|
|
int Id,
|
|
int? UserId,
|
|
int? GroupId,
|
|
int? RepUserId,
|
|
int? RepGroupId,
|
|
DateTime? ValidFrom,
|
|
DateTime? ValidTo,
|
|
string AddedWho,
|
|
string? ChangedWho,
|
|
UserReadDto? User,
|
|
GroupReadDto? RepGroup,
|
|
GroupReadDto? Group,
|
|
UserReadDto? RepUser,
|
|
DateTime? AddedWhen,
|
|
DateTime? ChangedWhen
|
|
) : BaseReadDto(Id, AddedWho, AddedWhen, ChangedWho, ChangedWhen);
|
|
} |