Umbenennung von BaseDto in BaseDTO für eine konsistente Namensgebung.
This commit is contained in:
parent
419974ba12
commit
0e0f78aaa2
@ -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.
|
||||||
|
|||||||
@ -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()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user