DbEntityEntry.GetValidationResult Method
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.
Validates this DbEntityEntry instance and returns validation result.
public System.Data.Entity.Validation.DbEntityValidationResult GetValidationResult ();
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public System.Data.Entity.Validation.DbEntityValidationResult GetValidationResult ();
member this.GetValidationResult : unit -> System.Data.Entity.Validation.DbEntityValidationResult
Public Function GetValidationResult () As DbEntityValidationResult
Returns
Entity validation result. Possibly null if DbContext.ValidateEntity(DbEntityEntry, IDictionary{object,object}) method is overridden.
- Attributes
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