Share via


IdentityDbContext<TUser>.ValidateEntity Method

This member overrides DbContext.ValidateEntity(DbEntityEntry, IDictionary<Object, Object>).

Namespace:  Microsoft.AspNet.Identity.EntityFramework
Assembly:  Microsoft.AspNet.Identity.EntityFramework (in Microsoft.AspNet.Identity.EntityFramework.dll)

Syntax

'Declaration
Protected Overrides Function ValidateEntity ( _
    entityEntry As DbEntityEntry, _
    items As IDictionary(Of Object, Object) _
) As DbEntityValidationResult
'Usage
Dim entityEntry As DbEntityEntry 
Dim items As IDictionary(Of Object, Object)
Dim returnValue As DbEntityValidationResult 

returnValue = Me.ValidateEntity(entityEntry, _
    items)
protected override DbEntityValidationResult ValidateEntity(
    DbEntityEntry entityEntry,
    IDictionary<Object, Object> items
)
protected:
virtual DbEntityValidationResult^ ValidateEntity(
    DbEntityEntry^ entityEntry, 
    IDictionary<Object^, Object^>^ items
) override
abstract ValidateEntity : 
        entityEntry:DbEntityEntry * 
        items:IDictionary<Object, Object> -> DbEntityValidationResult  
override ValidateEntity : 
        entityEntry:DbEntityEntry * 
        items:IDictionary<Object, Object> -> DbEntityValidationResult
protected override function ValidateEntity(
    entityEntry : DbEntityEntry, 
    items : IDictionary<Object, Object>
) : DbEntityValidationResult

Parameters

Return Value

Type: System.Data.Entity.Validation.DbEntityValidationResult

See Also

Reference

IdentityDbContext<TUser> Class

Microsoft.AspNet.Identity.EntityFramework Namespace