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;
}

View File

@@ -6,7 +6,7 @@
<Copyright>Copyright © RUSSEK Software 2012-2022</Copyright>
<Company>RUSSEK Software</Company>
<Authors>Grzegorz Russek</Authors>
<VersionPrefix>1.2.2</VersionPrefix>
<VersionPrefix>1.2.3</VersionPrefix>
<RepositoryUrl>https://svn.dr4cul4.pl/svn/DynamORM/</RepositoryUrl>
<PackageProjectUrl>https://dr4cul4.pl</PackageProjectUrl>
<Product>DynamORM</Product>

View File

@@ -1554,7 +1554,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;
}
@@ -1571,7 +1571,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;
}