1. |
info: 2025-01-22 18:06:43.921 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) 29ms [Parameters=[@__site_Id_0='ee693ea4-a7a7-489f-bdda-26feaf678dda', @__item_Id_1='91718b73-b428-4a62-9b33-9c4ace5c46e1'], CommandType='Text', CommandTimeout='30'] SELECT TOP(1) [q].[Id], [q].[Active], [q].[AnswerPartialPoints], [q].[AnswerPoints], [q].[Created], [q].[Deleted], [q].[PartialPoints], [q].[Points], [q].[ProcessorGenerateImagePrompt], [q].[StorageMediaName], [q].[StorageMediaUrl], [q].[Title], [q].[TopicId], [q].[TotalAnswers], [q].[TotalHints], [t].[Id], [t].[Active], [t].[CategoryId], [t].[Challenge], [t].[ChallengePartialPoints], [t].[ChallengePoints], [t].[ChallengeRequest], [t].[ChallengeTask], [t].[Created], [t].[Deleted], [t].[Description], [t].[LevelId], [t].[ProcessorGenerateImagePrompt], [t].[StorageMediaName], [t].[StorageMediaUrl], [t].[Title], [t].[TitleSlug], [t].[TotalQuestionPoints], [t].[TotalQuestions], [c].[Id], [c].[Active], [c].[Deleted], [c].[Description], [c].[Left], [c].[ParentId], [c].[Position], [c].[ProcessorGenerateImagePrompt], [c].[Right], [c].[SiteId], [c].[StorageMediaName], [c].[StorageMediaUrl], [c].[Title], [c].[TotalBadges], [c].[TotalChildren], [c].[TotalTags], [c].[TotalTopics] FROM [Questions] AS [q] WITH (NOLOCK) INNER JOIN [Topics] AS [t] ON [q].[TopicId] = [t].[Id] INNER JOIN [Categories] AS [c] ON [t].[CategoryId] = [c].[Id] WHERE [c].[SiteId] = @__site_Id_0 AND [q].[TopicId] = @__item_Id_1 AND [q].[Active] = CAST(1 AS bit) AND [q].[Deleted] = CAST(0 AS bit) ORDER BY [q].[Created], [q].[Id], [t].[Id], [c].[Id]
|
2. |
info: 2025-01-22 18:06:43.939 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) 18ms [Parameters=[@__site_Id_0='ee693ea4-a7a7-489f-bdda-26feaf678dda', @__item_Id_1='91718b73-b428-4a62-9b33-9c4ace5c46e1'], CommandType='Text', CommandTimeout='30'] SELECT [t1].[Id], [t1].[Active], [t1].[Correct], [t1].[Deleted], [t1].[QuestionId], [t1].[StorageMediaName], [t1].[StorageMediaUrl], [t1].[Title], [t0].[Id], [t0].[Id0], [t0].[Id1] FROM ( SELECT TOP(1) [q].[Id], [t].[Id] AS [Id0], [c].[Id] AS [Id1], [q].[Created] FROM [Questions] AS [q] WITH (NOLOCK) INNER JOIN [Topics] AS [t] ON [q].[TopicId] = [t].[Id] INNER JOIN [Categories] AS [c] ON [t].[CategoryId] = [c].[Id] WHERE [c].[SiteId] = @__site_Id_0 AND [q].[TopicId] = @__item_Id_1 AND [q].[Active] = CAST(1 AS bit) AND [q].[Deleted] = CAST(0 AS bit) ORDER BY [q].[Created] ) AS [t0] INNER JOIN ( SELECT [q0].[Id], [q0].[Active], [q0].[Correct], [q0].[Deleted], [q0].[QuestionId], [q0].[StorageMediaName], [q0].[StorageMediaUrl], [q0].[Title], NEWID() AS [c] FROM [QuestionAnswers] AS [q0] WHERE [q0].[Active] = CAST(1 AS bit) AND [q0].[Deleted] = CAST(0 AS bit) ) AS [t1] ON [t0].[Id] = [t1].[QuestionId] ORDER BY [t0].[Created], [t0].[Id], [t0].[Id0], [t0].[Id1], [t1].[c]
|
3. |
info: 2025-01-22 18:06:43.959 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) 10ms [Parameters=[@__site_Id_0='ee693ea4-a7a7-489f-bdda-26feaf678dda', @__item_Left_1='108', @__item_Right_2='109'], CommandType='Text', CommandTimeout='30'] SELECT [c].[Id], [c].[Active], [c].[Deleted], [c].[Description], [c].[Left], [c].[ParentId], [c].[Position], [c].[ProcessorGenerateImagePrompt], [c].[Right], [c].[SiteId], [c].[StorageMediaName], [c].[StorageMediaUrl], [c].[Title], [c].[TotalBadges], [c].[TotalChildren], [c].[TotalTags], [c].[TotalTopics] FROM [Categories] AS [c] WHERE [c].[SiteId] = @__site_Id_0 AND [c].[Left] <= @__item_Left_1 AND [c].[Right] >= @__item_Right_2 AND [c].[Deleted] = CAST(0 AS bit) ORDER BY [c].[Left]
|
4. |
info: 2025-01-22 18:06:43.981 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command) 18ms [Parameters=[@__p_4='50', @__item_Id_0='91718b73-b428-4a62-9b33-9c4ace5c46e1', @__item_CategoryId_1='2abad72e-e6a5-4909-a5af-61c18aaa0c71', @__level_Id_2='3442bb2c-ac6a-4947-bdf3-d8d2bcfcb250', @__site_Id_3='ee693ea4-a7a7-489f-bdda-26feaf678dda'], CommandType='Text', CommandTimeout='30'] SELECT TOP(@__p_4) [t].[Id], [t].[Active], [t].[CategoryId], [t].[Challenge], [t].[ChallengePartialPoints], [t].[ChallengePoints], [t].[ChallengeRequest], [t].[ChallengeTask], [t].[Created], [t].[Deleted], [t].[Description], [t].[LevelId], [t].[ProcessorGenerateImagePrompt], [t].[StorageMediaName], [t].[StorageMediaUrl], [t].[Title], [t].[TitleSlug], [t].[TotalQuestionPoints], [t].[TotalQuestions], [c].[Id], [c].[Active], [c].[Deleted], [c].[Description], [c].[Left], [c].[ParentId], [c].[Position], [c].[ProcessorGenerateImagePrompt], [c].[Right], [c].[SiteId], [c].[StorageMediaName], [c].[StorageMediaUrl], [c].[Title], [c].[TotalBadges], [c].[TotalChildren], [c].[TotalTags], [c].[TotalTopics] FROM [Topics] AS [t] WITH (NOLOCK) INNER JOIN [Categories] AS [c] ON [t].[CategoryId] = [c].[Id] LEFT JOIN [Categories] AS [c0] ON [c].[ParentId] = [c0].[Id] WHERE [t].[Id] <> @__item_Id_0 AND [t].[CategoryId] = @__item_CategoryId_1 AND [t].[LevelId] = @__level_Id_2 AND [c].[SiteId] = @__site_Id_3 AND [c].[Active] = CAST(1 AS bit) AND [c].[Deleted] = CAST(0 AS bit) AND [c0].[Active] = CAST(1 AS bit) AND [c0].[Deleted] = CAST(0 AS bit) AND [t].[Active] = CAST(1 AS bit) AND [t].[Deleted] = CAST(0 AS bit) ORDER BY NEWID()
|
75 ms |