Class ForeignKeyErrorMessageHelper
- Namespace
- GroupeIsa.Neos.Shared.Persistence
- Assembly
- GroupeIsa.Neos.Shared.dll
Represents a helper for getting error message triggered by a foreign key.
public static class ForeignKeyErrorMessageHelper
- Inheritance
-
ForeignKeyErrorMessageHelper
- Inherited Members
Methods
GetDefaultErrorMessage(string, string, ErrorType, string)
Gets the default message of a foreign key in the specified language.
public static string GetDefaultErrorMessage(string tableName, string referencedTableName, ForeignKeyErrorMessageHelper.ErrorType errorType, string language)
Parameters
tableName
stringName of the table the foreign key belongs to.
referencedTableName
stringName of the table referenced by the foreign key.
errorType
ForeignKeyErrorMessageHelper.ErrorTypeError type.
language
stringLanguage.
Returns
- string
Default message.