public override async Task <AspNetUsers> FindByIdAsync(string key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.Id == key); return(entity); }
public override async Task <AspNetUserRoles> FindByIdAsync(AspNetUserRolesPK key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.UserId == key.UserId && e.RoleId == key.RoleId); return(entity); }
public override async Task <AspNetRoleClaims> FindByIdAsync(int key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.Id == key); return(entity); }
public override async Task <AspNetUserLogins> FindByIdAsync(AspNetUserLoginsPK key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.LoginProvider == key.LoginProvider && e.ProviderKey == key.ProviderKey); return(entity); }
public override async Task <AspNetUserTokens> FindByIdAsync(AspNetUserTokensPK key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.UserId == key.UserId && e.LoginProvider == key.LoginProvider && e.Name == key.Name); return(entity); }
public override async Task <GroupUsers> FindByIdAsync(int key) { var entity = await QuerySet.FirstOrDefaultAsync( e => e.Id == key); return(entity); }