UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim>.GetUserAggregateAsync Method (Expression<Func<TUser, Boolean>>)

 

Used to attach child entities to the User aggregate, i.e. Roles, Logins, and Claims

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

Syntax

protected virtual Task<TUser> GetUserAggregateAsync(
    Expression<Func<TUser, bool>> filter
)
protected:
virtual Task<TUser>^ GetUserAggregateAsync(
    Expression<Func<TUser, bool>^>^ filter
)
abstract GetUserAggregateAsync : 
        filter:Expression<Func<'TUser, bool>> -> Task<'TUser>
override GetUserAggregateAsync : 
        filter:Expression<Func<'TUser, bool>> -> Task<'TUser>
Protected Overridable Function GetUserAggregateAsync (
    filter As Expression(Of Func(Of TUser, Boolean))
) As Task(Of TUser)

Parameters

Return Value

Type: System.Threading.Tasks.Task<TUser>

See Also

UserStore<TUser, TRole, TKey, TUserLogin, TUserRole, TUserClaim> Class
Microsoft.AspNet.Identity.EntityFramework Namespace

Return to top