Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2649a6

Browse files
Merge pull request #379 from EmergentSoftware/dev
Edited wiki
2 parents 2d829e1 + ccc453e commit d2649a6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎docs/findings/TableConventions.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,13 @@ With a 'Phone Number' table you would not use a linking table. The 'Phone Number
169169
|2|1|2|(612) 233-2255|
170170
|3|2|3|1+ (453) 556-9902|
171171

172-
A use case exception for using the proper weak or strong type is for security purposes. You might encounter a requirement for security that utilizing a linking table makes it impossible to have a discriminator to prevent read or modifications to a row.
172+
An entity is a table and is a single set of attributes. There is a need sometimes for entity/table inheritance when you might have a parent entity/table named `Person`, you would need another inherited entity/table for `Employee`. The `Employee` entity/table will store attributes (Salary, Job Title, ...) that are not attributes in the `Person` entity/table.
173+
174+
175+
Table Entity Use Case Exception
176+
A use case exception for using proper table entities is for security purposes. You might encounter a requirement for security that utilizing a linking table makes it impossible to have a discriminator like `PhoneTypeId` to prevent read or modifications to a row based on how the software was/is written.
177+
178+
This exception use can lead to table schema development issues for cases when you have a multiple entity/tables like `dbo.BuyerPhone`, `dbo.SellerPhone`, `dbo.ServicerPhone`, `dbo.VendorPhone`. With the address entity not being materialized in one `dbo.Phone` entity/table, the table schemas need to be kept in sync which might not occur. Ask me how I know. ;-(
173179

174180

175181
[Back to top](#top)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /