-
Notifications
You must be signed in to change notification settings - Fork 5
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
Database Schema Discussion for ID
#65
Comments
@david-poindexter @valadas FYI... |
Can you define what you mean by Id being a reserved word? I always use Id because then you can have a base class for your entities and do generic stuff that works with any entity |
D'oh! Never mind. Got my SQL crossed. ID is okay. :) |
However, a more specific ID naming convention is often better/easier and less error-prone when more complex queries are needed to be made. |
Yep. My pattern follows the rest of DNN where we use WidgetId to reference the ID of a Widget. I agree we should attempt to ensure we make a good start with this module. |
I've noticed that the
ID
columns are literally named 'ID`. This issue is here to discuss if we want to change that before this module has an official release to prevent potential issues in the future since this is a reserved word.The text was updated successfully, but these errors were encountered: