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
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