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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework