Closed WillStrohl closed 2 years ago
@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.