DbValidationError Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Validation error. Can be either entity or property level validation error.
[System.Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbValidationError
[System.Serializable]
public class DbValidationError
type DbValidationError = class
Public Class DbValidationError
- Inheritance
-
DbValidationError
- Attributes
Constructors
DbValidationError(String, String) |
Creates an instance of DbValidationError. |
Properties
ErrorMessage |
Gets validation error message. |
PropertyName |
Gets name of the invalid property. |
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework