Closed radek673 closed 1 week ago
Hello @radek673
Do you think you could create a runnable project with the issue? It doesn’t need to be your project, just a new solution with the minimum code to reproduce the issue.
At this moment, we have a lot of information but not enough to reproduce it. This is the first time we saw this The underlying reader doesn't have as many fields as expected. Expected: 18, actual: 0.
error and the code you provided is very standard, so we have no clue how to reproduce it.
You can send the project in private here if needed: info@zzzprojects.com
Best Regards,
Jon
Yes you are right it turned out that in this case the queryable also contained ".AsSplitQuery()" :) lesson learnt :) Best Regards, Radek
we can also see it from the exception... "SplitQueryResultCoordinator" it says...
Awesome, thank you for letting us know.
We will close it as soon as you find out about the problem. Indeed, our library is not compatible with this method
Best Regards,
Jon
Here is what to include in your request to make sure we implement a solution as quickly as possible.
1. Description
I have the following code:
-- EF+ Query Future: 2 of 2 SELECT [u].[Id], [u].[Created], [u].[CreatedBy], [u].[Email], [u].[FirstName], [u].[Language], [u].[LastLoggedIn], [u].[LastName], [u].[Login], [u].[Name], [u].[Password], [u].[Status], [u].[Updated], [u].[UpdatedBy] FROM [User] AS [u] ORDER BY [u].[Email], [u].[Id] OFFSET @Z_2_p_0 ROWS FETCH NEXT @Z2p_1 ROWS ONLY ;
',N'@Z_2_p_0 int,@Z2p_1 int',@Z_2_p_0=0,@Z2p_1=20
CREATE TABLE [dbo].[User]( [Id] [int] IDENTITY(1,1) NOT NULL, [Login] varchar NOT NULL, [FirstName] nvarchar NULL, [LastName] nvarchar NULL, [Name] nvarchar NULL, [Email] varchar NOT NULL, [Password] varchar NULL, [Created] datetime2 NOT NULL, [CreatedBy] [int] NOT NULL, [Updated] datetime2 NOT NULL, [UpdatedBy] [int] NOT NULL, [LastLoggedIn] datetime2 NULL, [Status] [int] NOT NULL, [Language] [int] NOT NULL, CONSTRAINT [PK_User] PRIMARY KEY CLUSTERED )