Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception thrown: 'System.IndexOutOfRangeException' in System.Data.dll #2114

Closed
ap0405140 opened this issue May 12, 2023 · 1 comment
Closed

Comments

@ap0405140
Copy link

ap0405140 commented May 12, 2023

.net framework 4.8+entity framework 6.4.4

Codes:
List xx;

tsql = "select....";
var xxxx = DB.Database.SqlQuery(tsql);
xx = xxxx.ToList();

Result:
variable xx can get a list, but some error in Output Window:
Exception thrown: 'System.IndexOutOfRangeException' in System.Data.dll
Exception thrown: 'System.IndexOutOfRangeException' in System.Data.dll
Exception thrown: 'System.IndexOutOfRangeException' in System.Data.dll

this error cause by last statement(xx = xxxx.ToList();), why?

@ajcvickers
Copy link
Member

This issue has been closed because EF6 is no longer being actively developed. We are instead focusing on stability of the codebase, which means we will only make changes to address security issues. See the repo README for more information.

@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants