Tharaka Kumara

Results 4 comments of Tharaka Kumara

I have installed the preview version and tried it. Getting the same error that I mentioned in #1620 ![packages](https://github.com/user-attachments/assets/7d0110b2-28e0-43ec-bfda-7d85535bd519) 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