Compiling state (replace SingleOrDefault by firstOrDefault)
This commit is contained in:
parent
6768e12bb1
commit
2cd2a3868c
|
@ -2,5 +2,6 @@ namespace BlueWest.Data;
|
|||
|
||||
public class TestData
|
||||
{
|
||||
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
}
|
|
@ -5,7 +5,9 @@ using MapTo;
|
|||
namespace BlueWest.Data
|
||||
{
|
||||
[MapFrom( typeof(UserUpdateDto))]
|
||||
/*
|
||||
[UseUpdate]
|
||||
*/
|
||||
public partial class User
|
||||
{
|
||||
public TimeSpan Id { get; } = TimeSpan.Zero;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace BlueWest.Data
|
||||
{
|
||||
[UseUpdate]
|
||||
[MapFrom(typeof(User))]
|
||||
|
||||
public partial class UserUpdateDto
|
||||
|
|
Loading…
Reference in New Issue