Tharaka Kumara
Tharaka Kumara
I have installed the preview version and tried it. Getting the same error that I mentioned in #1620  at EFCore.BulkExtensions.IQueryableExtensions.ToParametrizedSql(IQueryable query) at EFCore.BulkExtensions.BatchUtil.GetBatchSql(IQueryable query, DbContext context, Boolean isUpdate) at...
Yes, SynchronizeFilter. ex: ``` await context.BulkInsertOrUpdateOrDeleteAsync(dto, options => { options.UpdateByProperties = ["Code"]; options.PropertiesToExcludeOnUpdate = [ "Percentage","Description","CountryCode",]; options.SetSynchronizeFilter(x => x.code == "TEST"); }, cancellationToken: cancellationToken); ```
@borisdj It seems the issue lies with `IQueryableExtensions.ToParametrizedSql()`. In EF Core 9, it appears that retrieving **RelationalCommandCache** using the following approach is no longer working: `var relationalCommandCache = (RelationalCommandCache?)enumerator.Private(relationalCommandCacheText);` I...
I have tested and it's all good. Thank you @borisdj