DbMemberEntry<TEntity,TProperty>.GetValidationErrors 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 property.
public System.Collections.Generic.ICollection<System.Data.Entity.Validation.DbValidationError> GetValidationErrors ();
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public System.Collections.Generic.ICollection<System.Data.Entity.Validation.DbValidationError> GetValidationErrors ();
member this.GetValidationErrors : unit -> System.Collections.Generic.ICollection<System.Data.Entity.Validation.DbValidationError>
Public Function GetValidationErrors () As ICollection(Of DbValidationError)
Returns
Collection of DbValidationError objects. Never null. If the entity is valid the collection will be empty.
- 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