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
Referring to the previous isusses to create PropertyHandler, an error occurred during test execution. After lowering the version, it can be executed normally.
Exception Message:
ArgumentException:Expressionof type 'System.String' cannot be used for parameter of type 'System.Ulid' of method 'Void set_Id(System.Ulid)' (Parameter 'arg0')System.Dynamic.Utils.ExpressionUtils.ValidateOneArgument(MethodBasemethod,ExpressionTypenodeKind,Expressionarguments,ParameterInfopi,stringmethodParamName,stringargumentParamName,intindex)
System.Linq.Expressions.Expression.Call(Expressioninstance,MethodInfomethod,Expressionarg0)
System.Linq.Expressions.Expression.Call(Expressioninstance,MethodInfomethod,IEnumerable<Expression>arguments)
RepoDb.Reflection.Compiler.CompileDataEntityPropertySetter(TypeentityType,PropertyInfoproperty,TypetargetType)
RepoDb.Reflection.Compiler.CompileDataEntityPropertySetter(TypeentityType,Fieldfield)
RepoDb.Reflection.FunctionFactory.CompileDataEntityPropertySetter(TypeentityType,Fieldfield)
RepoDb.FunctionCache+DataEntityPropertySetterCache.Get(Typetype,Fieldfield)
RepoDb.FunctionCache.GetDataEntityPropertySetterCompiledFunction(TypeentityType,Fieldfield)
RepoDb.Contexts.Providers.InsertExecutionContextProvider.CreateInternal(TypeentityType,IDbConnectionconnection,IEnumerable<DbField>dbFields,stringtableName,IEnumerable<Field>fields,stringcommandText)
RepoDb.Contexts.Providers.InsertExecutionContextProvider.Create(TypeentityType,IDbConnectionconnection,stringtableName,IEnumerable<Field>fields,stringhints,IDbTransactiontransaction,IStatementBuilderstatementBuilder)
RepoDb.DbConnectionExtension.InsertInternalBase<TEntity,TResult>(IDbConnectionconnection,stringtableName,TEntityentity,IEnumerable<Field>fields,stringhints,Nullable<int>commandTimeout,stringtraceKey,IDbTransactiontransaction,ITracetrace,IStatementBuilderstatementBuilder)
RepoDb.DbConnectionExtension.InsertInternal<TEntity,TResult>(IDbConnectionconnection,stringtableName,TEntityentity,IEnumerable<Field>fields,stringhints,Nullable<int>commandTimeout,stringtraceKey,IDbTransactiontransaction,ITracetrace,IStatementBuilderstatementBuilder)
RepoDb.DbConnectionExtension.Insert<TEntity>(IDbConnectionconnection,TEntityentity,IEnumerable<Field>fields,stringhints,Nullable<int>commandTimeout,stringtraceKey,IDbTransactiontransaction,ITracetrace,IStatementBuilderstatementBuilder)
Bug Description
Referring to the previous isusses to create PropertyHandler, an error occurred during test execution. After lowering the version, it can be executed normally.
Exception Message:
PropertyHandler:
The same code will work fine with RepoDb 1.12.10 / 1RepoDb.SqlServer .1.5
Library Version:
RepoDb v1.13.1 and RepoDb.SqlServer v1.13.1
The text was updated successfully, but these errors were encountered: