This commit is contained in:
grzegorz.russek
2022-04-01 09:49:07 +00:00
parent 53ba71f808
commit f5a1e14934
3 changed files with 5 additions and 5 deletions

View File

@@ -5123,7 +5123,7 @@ namespace DynamORM
if (mapper == null)
throw new InvalidOperationException("Type can't be mapped for unknown reason.");
mapper.Map(item, source);
mapper.Map(source, item);
return item;
}
@@ -5140,7 +5140,7 @@ namespace DynamORM
if (mapper == null)
throw new InvalidOperationException("Type can't be mapped for unknown reason.");
mapper.MapByProperty(item, source);
mapper.MapByProperty(source, item);
return item;
}