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

About Primarykey type #326

Open
meenw opened this issue May 5, 2018 · 0 comments
Open

About Primarykey type #326

meenw opened this issue May 5, 2018 · 0 comments

Comments

@meenw
Copy link

meenw commented May 5, 2018

The primarykey type must be int? The data has been inserted into the database, but there is still an error.
((IDictionary<string, object>)toInsert)[this.PrimaryKeyField] = Convert.ToInt32(cmd.ExecuteScalar());

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