Gunnar Liljas

Results 84 comments of Gunnar Liljas

> That's actually something I needed sometime ago for optimizataion purposes as for some reasons SQL Server didn't use index for query generated by default with parameter `_this.IsDeleted = @p1`...

Returning an IQueryable from within a "using session" doesn't work. What is the broader use case?

I don't see how it could work. The session is closed when the IQueryable is returned.

That looks like a perfectly viable solution

Using literal values in SQL does have some value. E.g. filtered indexes rely on the filtered columns **not** being supplied as parameters. And filtered indexes are really useful, e.g in...

> Just a thought for the discussion (do not need to implement straight away). The .NET Core since 3 supports default interface members. With it we can add methods to...

We could make it select the DbBatchBatcher automatically when possible, but perhaps that is something we should/could wait with.

@hazzik Thanks for helping out! A couple of ideas. 1. Maybe we should add the commands to a List instead of directly to the batch. It would make reuse of...