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

Tables with Yes/No column throw Syntax Error exception #59

Open
Taylordg opened this issue Apr 8, 2021 · 0 comments
Open

Tables with Yes/No column throw Syntax Error exception #59

Taylordg opened this issue Apr 8, 2021 · 0 comments

Comments

@Taylordg
Copy link

Taylordg commented Apr 8, 2021

Followed code first migration tutorial & video.

Data can read fine. Columns without yes/no columns can read & write but unable to write to a table that does have a yes/no column.

In my example, the Column ActiveTeamMember is a yes/no data type in access.

Inner exception is:
Syntax error in query expression '([StaffID] = @p1) select [ActiveTeamMember] from [tStaff] where [StaffID] = @p1'.

Breaks on line 321 of JetCommand.cs after calling SaveChanges() on the model context

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

1 participant