-
Notifications
You must be signed in to change notification settings - Fork 302
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
Composite Primary Key #1
Comments
At the moment you can't. Can you elaborate on the scenario you are trying to enable? |
As always with such stuff: new project, foreign DB which I am not supposed to change... |
Ok...I think I understand the issue. I'll have to look into what can be done, because at the moment autoIncrement is just true or false. |
Would it make sense to add autoincrement on the field level instead of the class level? It would behave just like the ResultColumn attribute. |
It might, however I need to look at the implications of that...not just for Sql Server as well. |
Oh... for me this is a serious issue. I have distributed tables over various locations, and they are merged in a central location, so that an autoincrement is not enough. I need at least an additional location field in the primary key... |
Sorry, I was too fast... As I see, a composite Primary Key is possible, just not with an autoincrement. Unfortunately in another table I need exactly this as well... |
How can I define a composite primary key where only one of the PK fields is autoincrement?
The text was updated successfully, but these errors were encountered: