Example #1
0
        string IDataErrorInfo.this[string columnName]
        {
            get
            {
                var validationResult = EntityValidator.ValidateProperty(this, columnName);

                return(!validationResult.HasViolations ? null : validationResult.ToString());
            }
        }