DbEntityValidationResult 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.
Represents validation results for single entity.
[System.Serializable]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbEntityValidationResult
[System.Serializable]
public class DbEntityValidationResult
type DbEntityValidationResult = class
Public Class DbEntityValidationResult
- Inheritance
-
DbEntityValidationResult
- Attributes
Constructors
DbEntityValidationResult(DbEntityEntry, IEnumerable<DbValidationError>) |
Creates an instance of DbEntityValidationResult class. |
Properties
Entry |
Gets an instance of DbEntityEntry the results applies to. |
IsValid |
Gets an indicator if the entity is valid. |
ValidationErrors |
Gets validation errors. Never null. |
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