[Table Designer] Add validators for computed col in PK and FK (#1653)

This commit is contained in:
Hai Cao
2022-08-25 16:30:47 -07:00
committed by GitHub
parent 21a261bf69
commit 23072250b7
5 changed files with 95 additions and 2 deletions

View File

@@ -5196,4 +5196,14 @@ The Query Processor estimates that implementing the following index could improv
<comment>.
Parameters: 0 - columnName (string), 1 - indexName (string), 2 - rowNumber (int) </comment>
</data>
<data name="ComputedColumnNeedToBePersistedAndNotNullInPrimaryKeyRuleDescription" xml:space="preserve">
<value>The computed column with name &apos;{0}&apos; has to be persisted and not nullable to be part of a primary key.</value>
<comment>.
Parameters: 0 - columnName (string) </comment>
</data>
<data name="ComputedColumnNeedToBePersistedInForeignKeyRuleDescription" xml:space="preserve">
<value>The computed column with name &apos;{0}&apos; has to be persisted to be part of the foreign key &apos;{1}&apos;.</value>
<comment>.
Parameters: 0 - columnName (string), 1 - foreignKeyName (string) </comment>
</data>
</root>