You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.
When we call the CommitChanges and there are no changes to the addition, KORM throws ArgumentException.
Error message:
System.ArgumentException : Hodnota parametra musí byť väčšia ako 0, ale skutočná hodnota je 0.
Parameter name: batchSize
Error stack trace:
at Kros.Utils.Check.GreaterThan[T](T param, T value, String paramName) in C:\projects\kros-libs-u2wo6\Kros.Utils\src\Kros.Utils\Utils\Check.cs:line 472
at Kros.Data.IdGeneratorBase..ctor(String tableName, Int32 batchSize) in C:\projects\kros-libs-u2wo6\Kros.Utils\src\Kros.Utils\Data\IdGeneratorBase.cs:line 86
at Kros.Data.SqlServer.SqlServerIdGeneratorFactory.GetGenerator(String tableName, Int32 batchSize) in C:\projects\kros-libs-u2wo6\Kros.Utils\src\Kros.Utils\Data\SqlServer\SqlServerIdGeneratorFactory.cs:line 45
at Kros.KORM.Query.QueryProvider.CreateIdGenerator(String tableName, Int32 batchSize) in C:\projects\kros-libs-u2wo6\Kros.KORM\src\Kros.KORM\Query\Providers\QueryProvider.cs:line 449
at Kros.KORM.Query.DbSet`1.GeneratePrimaryKeys(HashSet`1 items) in C:\projects\kros-libs-u2wo6\Kros.KORM\src\Kros.KORM\Query\DbSet.cs:line 297
at Kros.KORM.Query.DbSet`1.CommitChangesAddedItems(HashSet`1 items) in C:\projects\kros-libs-u2wo6\Kros.KORM\src\Kros.KORM\Query\DbSet.cs:line 279
at Kros.KORM.Query.DbSet`1.<CommitChanges>b__21_0() in C:\projects\kros-libs-u2wo6\Kros.KORM\src\Kros.KORM\Query\DbSet.cs:line 246
at Kros.KORM.Query.QueryProvider.ExecuteInTransaction(Action action) in C:\projects\kros-libs-u2wo6\Kros.KORM\src\Kros.KORM\Query\Providers\QueryProvider.cs:line 250
at Kros.KORM.UnitTests.Integration.DbSetShould.UpdateData() in C:\projects\kros-libs-u2wo6\Kros.KORM\tests\Kros.KORM.UnitTests\Integration\DbSetShould.cs:line 103
The text was updated successfully, but these errors were encountered:
When we call the
CommitChanges
and there are no changes to the addition, KORM throwsArgumentException
.Error message:
Error stack trace:
The text was updated successfully, but these errors were encountered: