DataValidation.RelatedRecordExist method
namespace: Serenity.Services assembly: Serenity.Net.Services
Returns a related record exist error
public static ValidationError RelatedRecordExist(string foreignTable, ITextLocalizer localizer)
| parameter | description |
|---|---|
| foreignTable | Foreign table |
| localizer | Text localizer |
See Also
- class ValidationError
- interface ITextLocalizer
- class DataValidation