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

Provide helper to delete primary key without knowing its name #464

Open
ashmind opened this issue Jan 16, 2014 · 3 comments
Open

Provide helper to delete primary key without knowing its name #464

ashmind opened this issue Jan 16, 2014 · 3 comments
Labels
improvement Improvement of behavior or code quality propose-close

Comments

@ashmind
Copy link
Contributor

ashmind commented Jan 16, 2014

When improving the database that uses autogenerated primary key names, working with them currently requires custom SQL.

As there can be only one primary key on a table, Delete.PrimaryKey()... should work without providing the name.

@tommarien
Copy link
Contributor

@ashmind Do i smell a pull request coming ;)

@ashmind
Copy link
Contributor Author

ashmind commented Jan 31, 2014

@tommarien Well, I can do one for SQL Server, but I do not have Oracle etc to test other generators.

@fubar-coder
Copy link
Member

Seems like a candidate for a new expression convention.

@fubar-coder fubar-coder added this to the vNext milestone Mar 31, 2018
@fubar-coder fubar-coder added the improvement Improvement of behavior or code quality label Mar 31, 2018
@fubar-coder fubar-coder removed this from the vNext milestone Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement of behavior or code quality propose-close
Projects
None yet
Development

No branches or pull requests

4 participants