Compiling state (replace SingleOrDefault by firstOrDefault)

This commit is contained in:
CodeLiturgy 2022-08-18 15:13:23 +01:00
parent 6768e12bb1
commit 2cd2a3868c
3 changed files with 4 additions and 2 deletions

View File

@ -2,5 +2,6 @@ namespace BlueWest.Data;
public class TestData
{
public int Id { get; set; }
public string Name { get; set; }
}

View File

@ -5,7 +5,9 @@ using MapTo;
namespace BlueWest.Data
{
[MapFrom( typeof(UserUpdateDto))]
/*
[UseUpdate]
*/
public partial class User
{
public TimeSpan Id { get; } = TimeSpan.Zero;

View File

@ -2,7 +2,6 @@
namespace BlueWest.Data
{
[UseUpdate]
[MapFrom(typeof(User))]
public partial class UserUpdateDto