Error when using FetchTypedList in .NET Core

Posts   
 
    
btsoftvn
User
Posts: 2
Joined: 15-Aug-2020
# Posted on: 03-Apr-2021 06:53:51   

Data table don't contain data when using FetchTypedList in DataAccessAdapter.

DataTable toReturn = new DataTable();
adapter.FetchTypedList(new EntityCollection<TEntity>().EntityFactoryToUse.CreateFields(), toReturn, null, 0, null, true, null, 1, 10);

When check select data by FetchEntityCollection contain 50 records

Attachments
Filename File size Added on Approval
Untitled.png 45,829 03-Apr-2021 06:54.24 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 03-Apr-2021 09:59:21   

We need more information than that. Please give us more information regarding what version you're using, how you use this code (as you specify a generic type)

Frans Bouma | Lead developer LLBLGen Pro
btsoftvn
User
Posts: 2
Joined: 15-Aug-2020
# Posted on: 03-Apr-2021 10:18:29   

Otis wrote:

We need more information than that. Please give us more information regarding what version you're using, how you use this code (as you specify a generic type)

We using LLBLGen Pro v5.8 Runtime Framework and Net.standard 2.1. Using in solution .NET Core 5.0 Web API And I want removed property "Fields" when using EntityCollection

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 04-Apr-2021 09:24:19   

With more information I meant: a piece of code we can use to reproduce your problem, you gave 2 lines of code and nothing how you call that code, what the context is of that code. Have you tried enabling tracing to see which query is produced? https://www.llblgen.com/Documentation/5.8/LLBLGen%20Pro%20RTF/Using%20the%20generated%20code/gencode_troubleshootingdebugging.htm

Frans Bouma | Lead developer LLBLGen Pro