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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework