Изучая метод FindByIdAsync в UserManager, я вижу
Код: Выделить всё
///
/// Finds and returns a user, if any, who has the specified .
///
/// The user ID to search for.
/// The used to propagate notifications that the operation should be canceled.
///
/// The that represents the asynchronous operation, containing the user matching the specified if it exists.
///
Task FindByIdAsync(string userId, CancellationToken cancellationToken);
Я не очень хорошо разбираюсь в профилировании БД, поэтому не знаю, как это проверить?
Подробнее здесь: https://stackoverflow.com/questions/793 ... fetching-a
Мобильная версия