Umbenennung von BaseDto in BaseDTO für eine konsistente Namensgebung.

This commit is contained in:
Developer 02 2024-06-06 15:24:37 +02:00
parent 419974ba12
commit 0e0f78aaa2
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
/// </summary> /// </summary>
/// <typeparam name="TId">The type of the identifier.</typeparam> /// <typeparam name="TId">The type of the identifier.</typeparam>
/// <param name="Id">The identifier of the DTO.</param> /// <param name="Id">The identifier of the DTO.</param>
public record BaseDto<TId>(TId Id) where TId : notnull public record BaseDTO<TId>(TId Id) where TId : notnull
{ {
/// <summary> /// <summary>
/// Returns the hash code for this instance, based on the identifier. /// Returns the hash code for this instance, based on the identifier.

View File

@ -4,7 +4,7 @@ namespace DigitalData.Core.Tests.DTO
{ {
public class BaseDtoTest public class BaseDtoTest
{ {
public record SampleDto(int Id) : BaseDto<int>(Id); public record SampleDto(int Id) : BaseDTO<int>(Id);
[Test] [Test]
public void EntitiesWithSameIdShouldBeEqual() public void EntitiesWithSameIdShouldBeEqual()