Database Design: Multiple identifying relationships between two entities -


i have 2 entities user, , message.

to avoid surrogate primary key message should weak entity depending on user, having 2 references of same (primary key) attribute user - email, partial key supposed unix_timestamp.

is fine approach? there other alternative?


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -