not able to retrieve only entites from (IDbSet<TEntity> _entities) without converting into list throwing error "the function requires all threads to run"

Prakash M 1 Reputation point
2021-05-25T10:04:33.217+00:00

not able to retrieve only entites from (IDbSet<TEntity> _entities) without converting into list throwing error "the function requires all threads to run".

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,233 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AddWebSolution 161 Reputation points
    2021-05-26T05:38:30.18+00:00

    Try using this :-
    db.Configuration.ProxyCreationEnable = false;

    0 comments No comments

  2. Prakash M 1 Reputation point
    2021-05-28T10:58:40.137+00:00

    Thank you so much for all your valuable inputs. @Duane Arnold @AddWebSolution

    The root cause of the issue was due to this below-mentioned line was missing from the windows service startup file,

    Environment.SetEnvironmentVariable("AppendManifestToken_SQLiteProviderManifest", ";BinaryGUID=True;");

    Mistakenly it got removed and created big chaos in the application.

    0 comments No comments