- biGENIUS-X Knowledge Base
- Best Practices
- Business Rules
Foreign Key Terms amount
Various Business Rules are checked after a change is made to a Model Object. These checks ensure the integrity and consistency of the model.
One such business rule checks the amount of Foreign Keys.
Amount of Foreign Keys
This Business Rule checks the amount of Foreign Keys in a Model Object.
This check has two parameters:
- Min: the minimum amount of Foreign Keys in a Model Object
- Max: the maximum amount of Foreign Keys in a Model Object
If the Business Rule validation fails, the following message will be displayed as a Warning Notification on the Model Object:
Model object '{ModelObject.Name}' of type '{ModelObject.ModelObjectType.Name}' has the wrong amount of foreign key terms defined. The amount of foreign key terms should be {supportedAmount}.
Example:
It will be soon available.